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]
Message-ID: <2c0942db0907210926ra96ee33ke3e6ac8c57458be8@mail.gmail.com>
Date:	Tue, 21 Jul 2009 09:26:54 -0700
From:	Ray Lee <ray-lk@...rabbit.org>
To:	Jason Baron <jbaron@...hat.com>
Cc:	mingo@...e.hu, linux-kernel@...r.kernel.org, paulus@...ba.org,
	a.p.zijlstra@...llo.nl, rostedt@...dmis.org, fweisbec@...il.com
Subject: Re: [PATCH 2/2] perf_counter: detect debugfs location

On Tue, Jul 21, 2009 at 9:20 AM, Jason Baron <jbaron@...hat.com> wrote:
>
> Search for the debugfs filesystem in /proc/mounts, but also allows the user to
> specify '--debugfs-dir=blah' or set the environment variable: 'PERF_DIR_DEBUGFS'

> -static char default_debugfs_path[] = "/sys/kernel/debug/tracing/events";

There are server systems out there that run with thousands of mounts.
It would be kinder to the users of those systems (ie, faster perf
startup) if you only went rooting around /proc/mounts if opening the
default location failed.
--
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