aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorWang Nan <[email protected]>2015-05-28 02:25:05 +0000
committerArnaldo Carvalho de Melo <[email protected]>2015-05-29 12:43:39 -0300
commit60fb7742928dab3c6a0fec7f2d2cce26d9366a3c (patch)
tree61c0c14037495636395ab397f41fb74ced244bad /tools/perf/scripts/python/bin/stackcollapse-record
parent44848cdbbd1bacbac2a825920b699adc000d51c7 (diff)
perf probe: Fix 'function unused' warning
By 'make build-test' a warning is found in probe-event.c that, after commit 419e873828 (perf probe: Show the error reason comes from invalid DSO) the only user of kernel_get_module_dso() is open_debuginfo(). Which is not compiled if HAVE_DWARF_SUPPORT not set. 'make build-test' found this problem when make_minimal. This patch moves kernel_get_module_dso() to HAVE_DWARF_SUPPORT ifdef section. Signed-off-by: Wang Nan <[email protected]> Acked-by: Masami Hiramatsu <[email protected]> Cc: Zefan Li <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions