summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/db-export.c
diff options
context:
space:
mode:
authorWang Nan <wangnan0@huawei.com>2015-05-28 02:25:05 +0000
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-05-29 12:43:39 -0300
commit60fb7742928dab3c6a0fec7f2d2cce26d9366a3c (patch)
tree61c0c14037495636395ab397f41fb74ced244bad /tools/perf/util/db-export.c
parent44848cdbbd1bacbac2a825920b699adc000d51c7 (diff)
downloadlinux-60fb7742928dab3c6a0fec7f2d2cce26d9366a3c.tar.bz2
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 <wangnan0@huawei.com> Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Zefan Li <lizefan@huawei.com> Cc: pi3orama@163.com Link: http://lkml.kernel.org/r/1432779905-206143-1-git-send-email-wangnan0@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/db-export.c')
0 files changed, 0 insertions, 0 deletions