Re: Implement lbr-as-callgraph v10

2014-11-23 Thread Namhyung Kim
Hi Andi and Arnaldo, On Sat, 22 Nov 2014 02:25:19 +0100, Andi Kleen wrote: >> f1 tcall.c:9 >> main tcall.c:17 >> main tcall.c:17 >> main tcall.c:16 >> main tcall.c:16 >> f1 tcall.c:12 >> f1 tcall.c:12 >> f2 tcall.c:6 >> f2 tcall.c:4 >> f1 tcall.c:1

Re: Implement lbr-as-callgraph v10

2014-11-21 Thread Andi Kleen
> f1 tcall.c:9 > main tcall.c:17 > main tcall.c:17 > main tcall.c:16 > main tcall.c:16 > f1 tcall.c:12 > f1 tcall.c:12 > f2 tcall.c:6 > f2 tcall.c:4 > f1 tcall.c:11 > f1 tcall.c:11 > f2 tcall.c:6 > f2 tcall.c:4 > f1 tcall.c:10 >

Re: Implement lbr-as-callgraph v10

2014-11-21 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 20, 2014 at 04:33:47PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Nov 19, 2014 at 10:48:22PM +0100, Andi Kleen escreveu: > > > > directory since I'm comparing the output of --stdio, --tui and --gtk, > > > > since it looks --gtk is wrong, still unsure about what the problem is i

Re: Implement lbr-as-callgraph v10

2014-11-20 Thread Andi Kleen
On Thu, Nov 20, 2014 at 04:33:47PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Nov 19, 2014 at 10:48:22PM +0100, Andi Kleen escreveu: > > On Wed, Nov 19, 2014 at 01:04:58PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Wed, Nov 19, 2014 at 11:10:27AM -0300, Arnaldo Carvalho de Melo > > > es

Re: Implement lbr-as-callgraph v10

2014-11-20 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 19, 2014 at 10:50:41PM +0100, Andi Kleen escreveu: > > Segmentation fault (core dumped) > > [root@zoo ~]# > > > > Rebuilding with DEBUG=1 I get this backtrace: > > Ok it crashes inside libbfd while resolving the line. > Not much I can do about it. > Could file a bug with the binuti

Re: Implement lbr-as-callgraph v10

2014-11-20 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 19, 2014 at 10:48:22PM +0100, Andi Kleen escreveu: > On Wed, Nov 19, 2014 at 01:04:58PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Wed, Nov 19, 2014 at 11:10:27AM -0300, Arnaldo Carvalho de Melo escreveu: > > > Em Wed, Nov 19, 2014 at 11:54:50AM +0100, Jiri Olsa escreveu: > > > > > >

Re: Implement lbr-as-callgraph v10

2014-11-19 Thread Andi Kleen
> Segmentation fault (core dumped) > [root@zoo ~]# > > Rebuilding with DEBUG=1 I get this backtrace: Ok it crashes inside libbfd while resolving the line. Not much I can do about it. Could file a bug with the binutils people, if you have a test case? > > Using host libthread_db library "/lib

Re: Implement lbr-as-callgraph v10

2014-11-19 Thread Andi Kleen
On Wed, Nov 19, 2014 at 01:04:58PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Nov 19, 2014 at 11:10:27AM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Wed, Nov 19, 2014 at 11:54:50AM +0100, Jiri Olsa escreveu: > > > > > BUILD_BUG_ON then? > > > > > > > > sounds gut > > > > > > hum, acme/

Re: Implement lbr-as-callgraph v10

2014-11-19 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 19, 2014 at 11:10:27AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Nov 19, 2014 at 11:54:50AM +0100, Jiri Olsa escreveu: > > > > BUILD_BUG_ON then? > > > > > > sounds gut > > > > hum, acme/perf/core changed and so has the compile error ;-) > > we dont overload the , so the ker

Re: Implement lbr-as-callgraph v10

2014-11-19 Thread Andi Kleen
> > > I'm getting compile error for DEBUG=1 > > > looks like the BUILD_BUG_ON_MSG does not work correctly with -O6 we use > > Yeah, I'll probably just take the brute force approach Andi originally > used and switch to BUILD_BUG_ON_MSG once we get it working in the tools/ > environment, i.e. using

Re: Implement lbr-as-callgraph v10

2014-11-19 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 18, 2014 at 12:00:07PM +0100, Jiri Olsa escreveu: > On Tue, Nov 18, 2014 at 11:44:16AM +0100, Jiri Olsa wrote: > > On Mon, Nov 17, 2014 at 06:34:57PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Wed, Nov 12, 2014 at 06:05:18PM -0800, Andi Kleen escreveu: > > > > [Reworks to address a

Re: Implement lbr-as-callgraph v10

2014-11-19 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 19, 2014 at 11:54:50AM +0100, Jiri Olsa escreveu: > > > BUILD_BUG_ON then? > > > > sounds gut > > hum, acme/perf/core changed and so has the compile error ;-) > we dont overload the , so the kernel one got > included, which is wrong.. attached patch fixes that I had fixed this but no

Re: Implement lbr-as-callgraph v10

2014-11-19 Thread Jiri Olsa
On Wed, Nov 19, 2014 at 10:23:23AM +0100, Jiri Olsa wrote: > On Wed, Nov 19, 2014 at 03:21:39PM +0900, Namhyung Kim wrote: > > Hi Jiri, > > > > On Tue, 18 Nov 2014 12:00:07 +0100, Jiri Olsa wrote: > > > On Tue, Nov 18, 2014 at 11:44:16AM +0100, Jiri Olsa wrote: > > >> On Mon, Nov 17, 2014 at 06:34

Re: Implement lbr-as-callgraph v10

2014-11-19 Thread Jiri Olsa
On Wed, Nov 19, 2014 at 03:21:39PM +0900, Namhyung Kim wrote: > Hi Jiri, > > On Tue, 18 Nov 2014 12:00:07 +0100, Jiri Olsa wrote: > > On Tue, Nov 18, 2014 at 11:44:16AM +0100, Jiri Olsa wrote: > >> On Mon, Nov 17, 2014 at 06:34:57PM -0300, Arnaldo Carvalho de Melo wrote: > >> > Em Wed, Nov 12, 201

Re: Implement lbr-as-callgraph v10

2014-11-18 Thread Namhyung Kim
Hi Jiri, On Tue, 18 Nov 2014 12:00:07 +0100, Jiri Olsa wrote: > On Tue, Nov 18, 2014 at 11:44:16AM +0100, Jiri Olsa wrote: >> On Mon, Nov 17, 2014 at 06:34:57PM -0300, Arnaldo Carvalho de Melo wrote: >> > Em Wed, Nov 12, 2014 at 06:05:18PM -0800, Andi Kleen escreveu: >> > > [Reworks to address all

Re: Implement lbr-as-callgraph v10

2014-11-18 Thread Jiri Olsa
On Tue, Nov 18, 2014 at 11:44:16AM +0100, Jiri Olsa wrote: > On Mon, Nov 17, 2014 at 06:34:57PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Wed, Nov 12, 2014 at 06:05:18PM -0800, Andi Kleen escreveu: > > > [Reworks to address all the review feedback. Rebased to latest tree] > > > [Just a repost a

Re: Implement lbr-as-callgraph v10

2014-11-18 Thread Jiri Olsa
On Mon, Nov 17, 2014 at 06:34:57PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Nov 12, 2014 at 06:05:18PM -0800, Andi Kleen escreveu: > > [Reworks to address all the review feedback. Rebased to latest tree] > > [Just a repost after a rebase] > > [Even more review feedback and some bugs address

Re: Implement lbr-as-callgraph v10

2014-11-17 Thread Andi Kleen
On Mon, Nov 17, 2014 at 06:34:57PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Nov 12, 2014 at 06:05:18PM -0800, Andi Kleen escreveu: > > [Reworks to address all the review feedback. Rebased to latest tree] > > [Just a repost after a rebase] > > [Even more review feedback and some bugs address

Re: Implement lbr-as-callgraph v10

2014-11-17 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 12, 2014 at 06:05:18PM -0800, Andi Kleen escreveu: > [Reworks to address all the review feedback. Rebased to latest tree] > [Just a repost after a rebase] > [Even more review feedback and some bugs addressed.] > [Only port to changes in perf/core. No other changes.] > [Rebase to latest