aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/api/fs
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2014-04-26 17:17:55 +0000
committerJiri Olsa <[email protected]>2014-04-30 14:49:29 +0000
commit61d4290cc1f10588147b76b385875f06827d47ff (patch)
tree1ecb38dfa2a5cdd6046395fc17a625a86746a378 /tools/lib/api/fs
parentperf tests: Add static build make test (diff)
downloadkernel-61d4290cc1f10588147b76b385875f06827d47ff.tar.gz
kernel-61d4290cc1f10588147b76b385875f06827d47ff.zip
perf machine: Search for modules in %s/lib/modules/%s
Modules installed outside of the kernel's build system should go into "%s/lib/modules/%s/extra", but at present, perf will only look at them when they are in "%s/lib/modules/%s/kernel". Lets encourage good citizenship by relaxing this requirement to "%s/lib/modules/%s". This way open source modules that are out-of-tree have no incentive to start populating a directory reserved for in-kernel modules and I can stop hex-editing my system's perf binary when profiling OSS out-of-tree modules. Feedback from Namhyung Kim correctly revealed that the hex-edits that I had been doing meant that perf was also traversing the build and source symlinks in %s/lib/modules/%s. That is undesireable, so we explicitly exclude them from traversal with a minor tweak to the traversal routine. Signed-off-by: Richard Yao <[email protected]> Acked-by: Namhyung kim <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jiri Olsa <[email protected]>
Diffstat (limited to 'tools/lib/api/fs')
0 files changed, 0 insertions, 0 deletions