Re: [PATCH 1/2] perf probe: Fix module probe issue if no dwarf support

2016-04-26 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 26, 2016 at 07:55:40PM +0530, Ravi Bangoria escreveu: > 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

Re: [PATCH 1/2] perf probe: Fix module probe issue if no dwarf support

2016-04-26 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 26, 2016 at 07:55:40PM +0530, Ravi Bangoria escreveu: > 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

Re: [PATCH 1/2] perf probe: Fix module probe issue if no dwarf support

2016-04-26 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 26, 2016 at 08:42:46PM +0530, Ravi Bangoria escreveu: > > > On Tuesday 26 April 2016 08:04 PM, Arnaldo Carvalho de Melo wrote: > >Em Tue, Apr 26, 2016 at 07:55:40PM +0530, Ravi Bangoria escreveu: > >>Perf is not able to register probe in kernel module when dwarf supprt > >>is not

Re: [PATCH 1/2] perf probe: Fix module probe issue if no dwarf support

2016-04-26 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 26, 2016 at 08:42:46PM +0530, Ravi Bangoria escreveu: > > > On Tuesday 26 April 2016 08:04 PM, Arnaldo Carvalho de Melo wrote: > >Em Tue, Apr 26, 2016 at 07:55:40PM +0530, Ravi Bangoria escreveu: > >>Perf is not able to register probe in kernel module when dwarf supprt > >>is not

Re: [PATCH 1/2] perf probe: Fix module probe issue if no dwarf support

2016-04-26 Thread Ravi Bangoria
On Tuesday 26 April 2016 08:04 PM, Arnaldo Carvalho de Melo wrote: Em Tue, Apr 26, 2016 at 07:55:40PM +0530, Ravi Bangoria escreveu: 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

Re: [PATCH 1/2] perf probe: Fix module probe issue if no dwarf support

2016-04-26 Thread Ravi Bangoria
On Tuesday 26 April 2016 08:04 PM, Arnaldo Carvalho de Melo wrote: Em Tue, Apr 26, 2016 at 07:55:40PM +0530, Ravi Bangoria escreveu: 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

Re: [PATCH 1/2] perf probe: Fix module probe issue if no dwarf support

2016-04-26 Thread Masami Hiramatsu
On Tue, 26 Apr 2016 19:55:40 +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: [PATCH 1/2] perf probe: Fix module probe issue if no dwarf support

2016-04-26 Thread Masami Hiramatsu
On Tue, 26 Apr 2016 19:55:40 +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

Re: [PATCH 1/2] perf probe: Fix module probe issue if no dwarf support

2016-04-26 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 26, 2016 at 07:55:40PM +0530, Ravi Bangoria escreveu: > 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

Re: [PATCH 1/2] perf probe: Fix module probe issue if no dwarf support

2016-04-26 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 26, 2016 at 07:55:40PM +0530, Ravi Bangoria escreveu: > 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

[PATCH 1/2] perf probe: Fix module probe issue if no dwarf support

2016-04-26 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 dpkg-query:

[PATCH 1/2] perf probe: Fix module probe issue if no dwarf support

2016-04-26 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 dpkg-query: