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] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 10 Jul 2009 06:17:58 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Jason Baron <jbaron@...hat.com>,
	Chris Wilson <chris@...is-wilson.co.uk>
Cc:	Frederic Weisbecker <fweisbec@...il.com>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	linux-kernel@...r.kernel.org, paulus@...ba.org, rostedt@...dmis.org
Subject: Re: [PATCH 3/2] perf_counters: add debugfs dir option


* Jason Baron <jbaron@...hat.com> wrote:

> On Thu, Jul 09, 2009 at 02:47:17AM +0200, Frederic Weisbecker wrote:
> > On Wed, Jul 08, 2009 at 04:17:43PM -0400, Jason Baron wrote:
> > > On Tue, Jul 07, 2009 at 10:29:20AM +0200, Peter Zijlstra wrote:
> > > > On Mon, 2009-07-06 at 17:12 -0400, Jason Baron wrote:
> > > > > Add support to 'perf list' and 'perf stat' for kernel tracepoints. The
> > > > > implementation creates a 'for_each_subsystem' and 'for_each_event' for
> > > > > easy iteration over the tracepoints. The debugfs filesystem must be mounted
> > > > > at '/sys/kernel/debug'. We can add an optional search path in the future.
> > > > 
> > > > I don't have a single machine that has that mount point.
> > > > 
> > > > 
> > > 
> > > ok, The patch below adds support for a 'PERF_DIR_DEBUGFS' environment
> > > variable. It also adds a command line for '--debugfs-dir' and
> > > '--debugfs-dir='. By default 'perf' continues to look in
> > > /sys/kernel/debug, which I believe is most common.
> > > 
> > > thanks,
> > > 
> > > -Jason
> > > 
> > > Signed-off-by: Jason Baron <jbaron@...hat.com>
> > 
> > 
> > 
> > Or why not parsing /etc/mtab ?
> > 
> > Thanks.
> > 
> > 
> > 
> 
> good idea. I'll add that.

Have you seen:

  Subject: [PATCH 2/2] perf tool: Add a trace point event parser.

from Chris Wilson? It already includes a /proc/mounts parser.

	Ingo
--
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