Re: [PATCH v4 1/2]: Allow architectures to skip a callchain entry

2014-06-18 Thread Jiri Olsa
On Thu, Jun 05, 2014 at 08:21:09PM -0700, Sukadev Bhattiprolu wrote: SNIP > index 7409ac8..3f97cf2 100644 > --- a/tools/perf/util/machine.c > +++ b/tools/perf/util/machine.c > @@ -1288,8 +1288,10 @@ static int machine__resolve_callchain_sample(struct > machine *machine, > { > u8 cpumode =

[PATCH v4 1/2]: Allow architectures to skip a callchain entry

2014-06-05 Thread Sukadev Bhattiprolu
The kernel code in Powerpc conservatively saves excess information in the callchain. While most entries are often needed, under some specific conditions, some of the entries are redundant and cause duplicate arcs in the call-graph. Eg: the value in the link register (LR) is needed only when it ho