[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141122012519.GP12538@two.firstfloor.org>
Date: Sat, 22 Nov 2014 02:25:19 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Arnaldo Carvalho de Melo <acme@...nel.org>
Cc: Andi Kleen <andi@...stfloor.org>, Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung@...nel.org>,
Jiri Olsa <jolsa@...nel.org>, linux-kernel@...r.kernel.org,
"Liang, Kan" <kan.liang@...el.com>
Subject: Re: 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists