Re: [RFC] perf probe: Fix module probe issue if no dwarf support

2016-04-26 Thread Ravi Bangoria
On Tuesday 26 April 2016 02:59 AM, Masami Hiramatsu wrote: On Mon, 25 Apr 2016 16:08:28 +0530 Ravi Bangoria wrote: Perf is not able to register probe in kernel module when dwarf supprt is not there(and so it goes for symtab). Perf passes full path of module

Re: [RFC] perf probe: Fix module probe issue if no dwarf support

2016-04-26 Thread Ravi Bangoria
On Tuesday 26 April 2016 02:59 AM, Masami Hiramatsu wrote: On Mon, 25 Apr 2016 16:08:28 +0530 Ravi Bangoria wrote: Perf is not able to register probe in kernel module when dwarf supprt is not there(and so it goes for symtab). Perf passes full path of module where only module name is

Re: [RFC] perf probe: Fix module probe issue if no dwarf support

2016-04-25 Thread Masami Hiramatsu
On Mon, 25 Apr 2016 16:08:28 +0530 Ravi Bangoria wrote: > Perf is not able to register probe in kernel module when dwarf supprt > is not there(and so it goes for symtab). Perf passes full path of > module where only module name is required which is causing the

Re: [RFC] perf probe: Fix module probe issue if no dwarf support

2016-04-25 Thread Masami Hiramatsu
On Mon, 25 Apr 2016 16:08:28 +0530 Ravi Bangoria wrote: > Perf is not able to register probe in kernel module when dwarf supprt > is not there(and so it goes for symtab). Perf passes full path of > module where only module name is required which is causing the problem. > This patch fixes this

[RFC] perf probe: Fix module probe issue if no dwarf support

2016-04-25 Thread Ravi Bangoria
Perf is not able to register probe in kernel module when dwarf supprt is not there(and so it goes for symtab). Perf passes full path of module where only module name is required which is causing the problem. This patch fixes this issue. Before applying patch: $ dpkg -s libdw-dev

[RFC] perf probe: Fix module probe issue if no dwarf support

2016-04-25 Thread Ravi Bangoria
Perf is not able to register probe in kernel module when dwarf supprt is not there(and so it goes for symtab). Perf passes full path of module where only module name is required which is causing the problem. This patch fixes this issue. Before applying patch: $ dpkg -s libdw-dev