Skip to content
Commit 5beeded1 authored by Jason Baron's avatar Jason Baron Committed by Peter Zijlstra
Browse files

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: default avatarJason Baron <jbaron@redhat.com>
[ also made it probe "/debug" by default ]
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20090721181629.GA3094@redhat.com>
parent f6bdafef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment