lkml.org 
[lkml]   [2014]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Implement lbr-as-callgraph v10
>      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
> f1 tcall.c:9
> main tcall.c:17
> <SNIP>
>
>
> Do you see the diff? The 87.65% and 12.35% doesn't appear on the --tui
> output.

I see the problem. It's some issue in hist_browser__show_callchain.
--stdio doesn't show it because it doesn't seem to use that (?)

With this patch it shows percent for the first entry

@@ -791,7 +791,7 @@ static int hist_browser__show_entry(struct hist_browser *browser,
};

printed += hist_browser__show_callchain(browser,
- &entry->sorted_chain, 1, row, total,
+ &entry->sorted_chain, 2, row, total,
hist_browser__show_callchain_entry, &arg,
hist_browser__check_output_full);

But the numbers are still different from what --stdio outputs,
so there are some deeper issues.

I doubt I caused this, probably some latent bug that just got triggered.

Namhyung?

-Andi


\
 
 \ /
  Last update: 2014-11-22 03:01    [W:0.145 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site