lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 26 Aug 2013 18:16:24 +0200
From:	Peter Zijlstra <peterz@...radead.org>
To:	Arnaldo Carvalho de Melo <acme@...stprotocols.net>
Cc:	Adrian Hunter <adrian.hunter@...el.com>,
	Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org,
	David Ahern <dsahern@...il.com>,
	Frederic Weisbecker <fweisbec@...il.com>,
	Jiri Olsa <jolsa@...hat.com>, Mike Galbraith <efault@....de>,
	Namhyung Kim <namhyung@...il.com>,
	Paul Mackerras <paulus@...ba.org>,
	Stephane Eranian <eranian@...gle.com>
Subject: Re: [PATCH 1/3] perf: add a dummy software event to keep tracking

On Mon, Aug 26, 2013 at 10:53:05AM -0300, Arnaldo Carvalho de Melo wrote:
> Em Mon, Aug 26, 2013 at 04:15:34PM +0300, Adrian Hunter escreveu:
> > On 07/08/13 16:30, Adrian Hunter wrote:
> > > When an event is disabled the "tracking" events
> > > selected by the 'mmap', 'comm' and 'task' bits of
> > > struct perf_event_attr, are also disabled.  However,
> > > the information those events provide is necessary to
> > > resolve symbols for when the main event is re-enabled.
> > > 
> > > The "tracking" events can be kept enabled by putting
> > > them on another event, but that requires an event
> > > that otherwise does nothing.  A new software event
> > > PERF_COUNT_SW_DUMMY is added for that purpose.
> > > 
> > > Signed-off-by: Adrian Hunter <adrian.hunter@...el.com>
> > 
> > Any comments?
> 
> Ok with me, Peter?

Yeah I suppose so.. I don't really like it and I've made a start at
looking at the problem twice now but never got anywhere, so sure lets go
with this.

Acked-by: Peter Zijlstra <peterz@...radead.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ