aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2016-01-07 09:14:04 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-01-08 15:46:17 +0000
commitcbd08b7335c9d559f424dcef7bea333605597490 (patch)
tree84f0e37fd70a9de25446fb330cd310ebf9b77c30 /tools/perf/builtin-script.c
parentperf report: Change default to use event group view (diff)
downloadkernel-cbd08b7335c9d559f424dcef7bea333605597490.tar.gz
kernel-cbd08b7335c9d559f424dcef7bea333605597490.zip
perf tools: Do not show trace command if it's not compiled in
The trace command still appears in help message when you run simple 'perf' command. It's because the generate-cmdlist.sh does not care about the HAVE_LIBAUDIT_SUPPORT dependency of trace command and puts it into generated common_cmds array. Wrapping trace command under HAVE_LIBAUDIT_SUPPORT dependency, which will exclude it from common_cmds array if HAVE_LIBAUDIT_SUPPORT is not set. Signed-off-by: Jiri Olsa <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Noel Grandin <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions