From: Jason Baron Date: Tue, 21 Jul 2009 18:16:29 +0000 (-0400) Subject: perf_counter: Detect debugfs location X-Git-Tag: v2.6.31-rc4~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5beeded123c5befa21f1c6e16219f2a3eb7dd197;p=pandora-kernel.git perf_counter: Detect debugfs location If "/sys/kernel/debug" is not a debugfs mount point, search for the debugfs filesystem in /proc/mounts, but also allows the user to specify '--debugfs-dir=blah' or set the environment variable: 'PERF_DEBUGFS_DIR' Signed-off-by: Jason Baron [ also made it probe "/debug" by default ] Signed-off-by: Peter Zijlstra LKML-Reference: <20090721181629.GA3094@redhat.com> --- Reading git-diff-tree failed