[RFC v2 1/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,

[RFC v2 1/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,