Re: perf test BPF failing on f24: fix

2016-08-08 Thread Arnaldo Carvalho de Melo
Em Sat, Aug 06, 2016 at 07:29:48PM +0900, Masami Hiramatsu escreveu: > On Fri, 5 Aug 2016 11:35:32 -0300 > Arnaldo Carvalho de Melo wrote: > > > Em Fri, Aug 05, 2016 at 06:45:50PM +0900, Masami Hiramatsu escreveu: > > > On Thu, 4 Aug 2016 18:47:24 -0300 > > > Arnaldo Carvalho de

Re: perf test BPF failing on f24: fix

2016-08-08 Thread Arnaldo Carvalho de Melo
Em Sat, Aug 06, 2016 at 07:29:48PM +0900, Masami Hiramatsu escreveu: > On Fri, 5 Aug 2016 11:35:32 -0300 > Arnaldo Carvalho de Melo wrote: > > > Em Fri, Aug 05, 2016 at 06:45:50PM +0900, Masami Hiramatsu escreveu: > > > On Thu, 4 Aug 2016 18:47:24 -0300 > > > Arnaldo Carvalho de Melo wrote: > >

Re: perf test BPF failing on f24: fix

2016-08-06 Thread Masami Hiramatsu
On Fri, 5 Aug 2016 11:35:32 -0300 Arnaldo Carvalho de Melo wrote: > Em Fri, Aug 05, 2016 at 06:45:50PM +0900, Masami Hiramatsu escreveu: > > On Thu, 4 Aug 2016 18:47:24 -0300 > > Arnaldo Carvalho de Melo wrote: > > > > > Em Thu, Aug 04, 2016 at 04:36:56PM

Re: perf test BPF failing on f24: fix

2016-08-06 Thread Masami Hiramatsu
On Fri, 5 Aug 2016 11:35:32 -0300 Arnaldo Carvalho de Melo wrote: > Em Fri, Aug 05, 2016 at 06:45:50PM +0900, Masami Hiramatsu escreveu: > > On Thu, 4 Aug 2016 18:47:24 -0300 > > Arnaldo Carvalho de Melo wrote: > > > > > Em Thu, Aug 04, 2016 at 04:36:56PM -0300, Arnaldo Carvalho de Melo > > >

Re: perf test BPF failing on f24: fix

2016-08-05 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 05, 2016 at 11:35:32AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Aug 05, 2016 at 06:45:50PM +0900, Masami Hiramatsu escreveu: > > See the symbol address calcurated from symbol map, in successful case > > the address exactly same address of SyS_epoll_wait. This indicates > >

Re: perf test BPF failing on f24: fix

2016-08-05 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 05, 2016 at 11:35:32AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Aug 05, 2016 at 06:45:50PM +0900, Masami Hiramatsu escreveu: > > See the symbol address calcurated from symbol map, in successful case > > the address exactly same address of SyS_epoll_wait. This indicates > >

Re: perf test BPF failing on f24: fix

2016-08-05 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 05, 2016 at 06:45:50PM +0900, Masami Hiramatsu escreveu: > On Thu, 4 Aug 2016 18:47:24 -0300 > Arnaldo Carvalho de Melo wrote: > > > Em Thu, Aug 04, 2016 at 04:36:56PM -0300, Arnaldo Carvalho de Melo escreveu: > > > So: > > > > > > int err =

Re: perf test BPF failing on f24: fix

2016-08-05 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 05, 2016 at 06:45:50PM +0900, Masami Hiramatsu escreveu: > On Thu, 4 Aug 2016 18:47:24 -0300 > Arnaldo Carvalho de Melo wrote: > > > Em Thu, Aug 04, 2016 at 04:36:56PM -0300, Arnaldo Carvalho de Melo escreveu: > > > So: > > > > > > int err = debuginfo__get_text_offset(dbg, ); > > >

Re: perf test BPF failing on f24: fix

2016-08-05 Thread Masami Hiramatsu
On Thu, 4 Aug 2016 18:47:24 -0300 Arnaldo Carvalho de Melo wrote: > Em Thu, Aug 04, 2016 at 04:36:56PM -0300, Arnaldo Carvalho de Melo escreveu: > > So: > > > > int err = debuginfo__get_text_offset(dbg, ); > > > > is returning 0, no relocation, its dwarf_addrdie() that is not

Re: perf test BPF failing on f24: fix

2016-08-05 Thread Masami Hiramatsu
On Thu, 4 Aug 2016 18:47:24 -0300 Arnaldo Carvalho de Melo wrote: > Em Thu, Aug 04, 2016 at 04:36:56PM -0300, Arnaldo Carvalho de Melo escreveu: > > So: > > > > int err = debuginfo__get_text_offset(dbg, ); > > > > is returning 0, no relocation, its dwarf_addrdie() that is not finding > >

Re: perf test BPF failing on f24: fix

2016-08-04 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 04, 2016 at 04:36:56PM -0300, Arnaldo Carvalho de Melo escreveu: > So: > > int err = debuginfo__get_text_offset(dbg, ); > > is returning 0, no relocation, its dwarf_addrdie() that is not finding > SyS_epoll_wait from its address. > > Trying to figure out why

Re: perf test BPF failing on f24: fix

2016-08-04 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 04, 2016 at 04:36:56PM -0300, Arnaldo Carvalho de Melo escreveu: > So: > > int err = debuginfo__get_text_offset(dbg, ); > > is returning 0, no relocation, its dwarf_addrdie() that is not finding > SyS_epoll_wait from its address. > > Trying to figure out why

Re: perf test BPF failing on f24: fix

2016-08-04 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 04, 2016 at 09:48:57AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Thu, Aug 04, 2016 at 03:32:21PM +0900, Masami Hiramatsu escreveu: > > FYI, if perf-probe failed to find the symbol in debuginfo, it tries to find > > its address > > from symbol table(kallsyms, here), and then tries

Re: perf test BPF failing on f24: fix

2016-08-04 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 04, 2016 at 09:48:57AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Thu, Aug 04, 2016 at 03:32:21PM +0900, Masami Hiramatsu escreveu: > > FYI, if perf-probe failed to find the symbol in debuginfo, it tries to find > > its address > > from symbol table(kallsyms, here), and then tries

Re: perf test BPF failing on f24: fix

2016-08-04 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 04, 2016 at 03:32:21PM +0900, Masami Hiramatsu escreveu: > On Wed, 3 Aug 2016 17:04:15 -0300 > Arnaldo Carvalho de Melo wrote: > > Em Wed, Aug 03, 2016 at 11:45:57PM +0900, Masami Hiramatsu escreveu: > > > > If we remove vmlinux, perf should use /proc/kallsyms. I

Re: perf test BPF failing on f24: fix

2016-08-04 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 04, 2016 at 03:32:21PM +0900, Masami Hiramatsu escreveu: > On Wed, 3 Aug 2016 17:04:15 -0300 > Arnaldo Carvalho de Melo wrote: > > Em Wed, Aug 03, 2016 at 11:45:57PM +0900, Masami Hiramatsu escreveu: > > > > If we remove vmlinux, perf should use /proc/kallsyms. I think > > I am not

Re: perf test BPF failing on f24: fix

2016-08-04 Thread Masami Hiramatsu
On Thu, 4 Aug 2016 09:50:25 +0800 "Wangnan (F)" wrote: > > > On 2016/8/4 7:08, Masami Hiramatsu wrote: > > On Wed, 3 Aug 2016 23:45:57 +0900 > > Masami Hiramatsu wrote: > > > [root@jouet ~]# perf probe sys_epoll_wait > Failed to find debug

Re: perf test BPF failing on f24: fix

2016-08-04 Thread Masami Hiramatsu
On Thu, 4 Aug 2016 09:50:25 +0800 "Wangnan (F)" wrote: > > > On 2016/8/4 7:08, Masami Hiramatsu wrote: > > On Wed, 3 Aug 2016 23:45:57 +0900 > > Masami Hiramatsu wrote: > > > [root@jouet ~]# perf probe sys_epoll_wait > Failed to find debug information for address bd295b50 >

Re: perf test BPF failing on f24: fix

2016-08-04 Thread Masami Hiramatsu
On Wed, 3 Aug 2016 17:04:15 -0300 Arnaldo Carvalho de Melo wrote: > Em Wed, Aug 03, 2016 at 11:45:57PM +0900, Masami Hiramatsu escreveu: > > > If we remove vmlinux, perf should use /proc/kallsyms. I think > > I am not removing vmlinux, it is being used, its just that the

Re: perf test BPF failing on f24: fix

2016-08-04 Thread Masami Hiramatsu
On Wed, 3 Aug 2016 17:04:15 -0300 Arnaldo Carvalho de Melo wrote: > Em Wed, Aug 03, 2016 at 11:45:57PM +0900, Masami Hiramatsu escreveu: > > > If we remove vmlinux, perf should use /proc/kallsyms. I think > > I am not removing vmlinux, it is being used, its just that the function > chosen by

Re: perf test BPF failing on f24: fix

2016-08-03 Thread Wangnan (F)
On 2016/8/4 7:08, Masami Hiramatsu wrote: On Wed, 3 Aug 2016 23:45:57 +0900 Masami Hiramatsu wrote: [root@jouet ~]# perf probe sys_epoll_wait Failed to find debug information for address bd295b50 Probe point 'sys_epoll_wait' not found. Error: Failed to add

Re: perf test BPF failing on f24: fix

2016-08-03 Thread Wangnan (F)
On 2016/8/4 7:08, Masami Hiramatsu wrote: On Wed, 3 Aug 2016 23:45:57 +0900 Masami Hiramatsu wrote: [root@jouet ~]# perf probe sys_epoll_wait Failed to find debug information for address bd295b50 Probe point 'sys_epoll_wait' not found. Error: Failed to add events. So, at least

Re: perf test BPF failing on f24: fix

2016-08-03 Thread Masami Hiramatsu
On Wed, 3 Aug 2016 23:45:57 +0900 Masami Hiramatsu wrote: > > > [root@jouet ~]# perf probe sys_epoll_wait > > > Failed to find debug information for address bd295b50 > > > Probe point 'sys_epoll_wait' not found. > > >Error: Failed to add events. > > So, at least

Re: perf test BPF failing on f24: fix

2016-08-03 Thread Masami Hiramatsu
On Wed, 3 Aug 2016 23:45:57 +0900 Masami Hiramatsu wrote: > > > [root@jouet ~]# perf probe sys_epoll_wait > > > Failed to find debug information for address bd295b50 > > > Probe point 'sys_epoll_wait' not found. > > >Error: Failed to add events. > > So, at least I should investigate

Re: perf test BPF failing on f24: fix

2016-08-03 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 03, 2016 at 11:45:57PM +0900, Masami Hiramatsu escreveu: > > If we remove vmlinux, perf should use /proc/kallsyms. I think I am not removing vmlinux, it is being used, its just that the function chosen by the 'perf test BPF' testcase isn't there. So lets go again trying to chase this

Re: perf test BPF failing on f24: fix

2016-08-03 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 03, 2016 at 11:45:57PM +0900, Masami Hiramatsu escreveu: > > If we remove vmlinux, perf should use /proc/kallsyms. I think I am not removing vmlinux, it is being used, its just that the function chosen by the 'perf test BPF' testcase isn't there. So lets go again trying to chase this

Re: perf test BPF failing on f24: fix

2016-08-03 Thread Masami Hiramatsu
On Wed, 3 Aug 2016 16:19:31 +0800 "Wangnan (F)" wrote: > Add Masami to Cc list. He knowns debug info. > > Please see below... > > On 2016/8/3 3:51, Arnaldo Carvalho de Melo wrote: > > Hi Wang, > > > > Something changed and a function used in a perf test for BPF is > >

Re: perf test BPF failing on f24: fix

2016-08-03 Thread Masami Hiramatsu
On Wed, 3 Aug 2016 16:19:31 +0800 "Wangnan (F)" wrote: > Add Masami to Cc list. He knowns debug info. > > Please see below... > > On 2016/8/3 3:51, Arnaldo Carvalho de Melo wrote: > > Hi Wang, > > > > Something changed and a function used in a perf test for BPF is > > not anymore appearing

Re: perf test BPF failing on f24: fix

2016-08-03 Thread Wangnan (F)
Add Masami to Cc list. He knowns debug info. Please see below... On 2016/8/3 3:51, Arnaldo Carvalho de Melo wrote: Hi Wang, Something changed and a function used in a perf test for BPF is not anymore appearing on vmlinux, albeit still available on /proc/kallsyms: # readelf -wi

Re: perf test BPF failing on f24: fix

2016-08-03 Thread Wangnan (F)
Add Masami to Cc list. He knowns debug info. Please see below... On 2016/8/3 3:51, Arnaldo Carvalho de Melo wrote: Hi Wang, Something changed and a function used in a perf test for BPF is not anymore appearing on vmlinux, albeit still available on /proc/kallsyms: # readelf -wi

Re: perf test BPF failing on f24: fix

2016-08-02 Thread Wangnan (F)
On 2016/8/3 10:41, Wangnan (F) wrote: On 2016/8/3 3:51, Arnaldo Carvalho de Melo wrote: Hi Wang, Something changed and a function used in a perf test for BPF is not anymore appearing on vmlinux, albeit still available on /proc/kallsyms: # readelf -wi /lib/modules/4.7.0+/build/vmlinux

Re: perf test BPF failing on f24: fix

2016-08-02 Thread Wangnan (F)
On 2016/8/3 10:41, Wangnan (F) wrote: On 2016/8/3 3:51, Arnaldo Carvalho de Melo wrote: Hi Wang, Something changed and a function used in a perf test for BPF is not anymore appearing on vmlinux, albeit still available on /proc/kallsyms: # readelf -wi /lib/modules/4.7.0+/build/vmlinux

Re: perf test BPF failing on f24: fix

2016-08-02 Thread Alexei Starovoitov
On Tue, Aug 02, 2016 at 11:15:34PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Aug 02, 2016 at 02:03:33PM -0700, Alexei Starovoitov escreveu: > > On Tue, Aug 02, 2016 at 04:51:02PM -0300, Arnaldo Carvalho de Melo wrote: > > > Hi Wang, > > > > > > Something changed and a function used in a

Re: perf test BPF failing on f24: fix

2016-08-02 Thread Alexei Starovoitov
On Tue, Aug 02, 2016 at 11:15:34PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Aug 02, 2016 at 02:03:33PM -0700, Alexei Starovoitov escreveu: > > On Tue, Aug 02, 2016 at 04:51:02PM -0300, Arnaldo Carvalho de Melo wrote: > > > Hi Wang, > > > > > > Something changed and a function used in a

Re: perf test BPF failing on f24: fix

2016-08-02 Thread Wangnan (F)
On 2016/8/3 3:51, Arnaldo Carvalho de Melo wrote: Hi Wang, Something changed and a function used in a perf test for BPF is not anymore appearing on vmlinux, albeit still available on /proc/kallsyms: # readelf -wi /lib/modules/4.7.0+/build/vmlinux | grep -w sys_epoll_wait # But:

Re: perf test BPF failing on f24: fix

2016-08-02 Thread Wangnan (F)
On 2016/8/3 3:51, Arnaldo Carvalho de Melo wrote: Hi Wang, Something changed and a function used in a perf test for BPF is not anymore appearing on vmlinux, albeit still available on /proc/kallsyms: # readelf -wi /lib/modules/4.7.0+/build/vmlinux | grep -w sys_epoll_wait # But:

Re: perf test BPF failing on f24: fix

2016-08-02 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 02, 2016 at 02:03:33PM -0700, Alexei Starovoitov escreveu: > On Tue, Aug 02, 2016 at 04:51:02PM -0300, Arnaldo Carvalho de Melo wrote: > > Hi Wang, > > > > Something changed and a function used in a perf test for BPF is > > not anymore appearing on vmlinux, albeit still available

Re: perf test BPF failing on f24: fix

2016-08-02 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 02, 2016 at 02:03:33PM -0700, Alexei Starovoitov escreveu: > On Tue, Aug 02, 2016 at 04:51:02PM -0300, Arnaldo Carvalho de Melo wrote: > > Hi Wang, > > > > Something changed and a function used in a perf test for BPF is > > not anymore appearing on vmlinux, albeit still available

Re: perf test BPF failing on f24: fix

2016-08-02 Thread Alexei Starovoitov
On Tue, Aug 02, 2016 at 04:51:02PM -0300, Arnaldo Carvalho de Melo wrote: > Hi Wang, > > Something changed and a function used in a perf test for BPF is > not anymore appearing on vmlinux, albeit still available on > /proc/kallsyms: > > # readelf -wi /lib/modules/4.7.0+/build/vmlinux |

Re: perf test BPF failing on f24: fix

2016-08-02 Thread Alexei Starovoitov
On Tue, Aug 02, 2016 at 04:51:02PM -0300, Arnaldo Carvalho de Melo wrote: > Hi Wang, > > Something changed and a function used in a perf test for BPF is > not anymore appearing on vmlinux, albeit still available on > /proc/kallsyms: > > # readelf -wi /lib/modules/4.7.0+/build/vmlinux |

perf test BPF failing on f24: fix

2016-08-02 Thread Arnaldo Carvalho de Melo
Hi Wang, Something changed and a function used in a perf test for BPF is not anymore appearing on vmlinux, albeit still available on /proc/kallsyms: # readelf -wi /lib/modules/4.7.0+/build/vmlinux | grep -w sys_epoll_wait # But: [root@jouet ~]# grep -i sys_epoll_wait /proc/kallsyms

perf test BPF failing on f24: fix

2016-08-02 Thread Arnaldo Carvalho de Melo
Hi Wang, Something changed and a function used in a perf test for BPF is not anymore appearing on vmlinux, albeit still available on /proc/kallsyms: # readelf -wi /lib/modules/4.7.0+/build/vmlinux | grep -w sys_epoll_wait # But: [root@jouet ~]# grep -i sys_epoll_wait /proc/kallsyms