Re: [PATCH tip/perf/core] perf probe: Fix 'function unused' warning

2015-05-29 Thread Arnaldo Carvalho de Melo
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_modul

Re: [PATCH tip/perf/core] perf probe: Fix 'function unused' warning

2015-05-27 Thread Masami Hiramatsu
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 no

[PATCH tip/perf/core] perf probe: Fix 'function unused' warning

2015-05-27 Thread Wang Nan
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 w