Re: [PATCH 2/2] perf probe: Fix offline module name missmatch issue

2016-04-26 Thread Masami Hiramatsu
On Tue, 26 Apr 2016 19:55:41 +0530 Ravi Bangoria wrote: > Perf can add a probe on kernel module which has not been loaded yet. > Current implementation finds module name from path. But if filename > is different from actual module name then perf fails to

Re: [PATCH 2/2] perf probe: Fix offline module name missmatch issue

2016-04-26 Thread Masami Hiramatsu
On Tue, 26 Apr 2016 19:55:41 +0530 Ravi Bangoria wrote: > Perf can add a probe on kernel module which has not been loaded yet. > Current implementation finds module name from path. But if filename > is different from actual module name then perf fails to register > probe while loading module

[PATCH 2/2] perf probe: Fix offline module name missmatch issue

2016-04-26 Thread Ravi Bangoria
Perf can add a probe on kernel module which has not been loaded yet. Current implementation finds module name from path. But if filename is different from actual module name then perf fails to register probe while loading module because of mismatch in names. For example,

[PATCH 2/2] perf probe: Fix offline module name missmatch issue

2016-04-26 Thread Ravi Bangoria
Perf can add a probe on kernel module which has not been loaded yet. Current implementation finds module name from path. But if filename is different from actual module name then perf fails to register probe while loading module because of mismatch in names. For example,