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 <jbaron@redhat.com> [ also made it probe "/debug" by default ] Signed-off-by:
Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <20090721181629.GA3094@redhat.com>
Showing
- tools/perf/perf.c 76 additions, 1 deletiontools/perf/perf.c
- tools/perf/util/cache.h 1 addition, 0 deletionstools/perf/util/cache.h
- tools/perf/util/parse-events.c 17 additions, 16 deletionstools/perf/util/parse-events.c
- tools/perf/util/parse-events.h 5 additions, 0 deletionstools/perf/util/parse-events.h
- tools/perf/util/string.h 3 additions, 0 deletionstools/perf/util/string.h
Loading
Please register or sign in to comment