Messages in this thread | | | Date | Fri, 29 May 2015 10:29:55 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH tip/perf/core] perf probe: Fix 'function unused' warning |
| |
Em Thu, May 28, 2015 at 02:27:13PM +0900, Masami Hiramatsu escreveu: > On 2015/05/28 11:25, Wang Nan wrote: > > 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. > > Ah, right! > > > > > 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>
Thanks, applied!
- Arnaldo
| |