diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2011-01-03 16:13:11 +0100 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2011-01-03 16:13:11 +0100 |
commit | d425de5436a620de506f9e4119bf8daa1cb93718 (patch) | |
tree | 25f1b576d37a0a6ff8ad5f89ff93ab875e4d1d78 /kernel/irq | |
parent | 551423748a4eba55f2eb0fc250d757986471f187 (diff) | |
download | kernel_samsung_smdk4412-d425de5436a620de506f9e4119bf8daa1cb93718.zip kernel_samsung_smdk4412-d425de5436a620de506f9e4119bf8daa1cb93718.tar.gz kernel_samsung_smdk4412-d425de5436a620de506f9e4119bf8daa1cb93718.tar.bz2 |
perf: Fix callchain hit bad cast on ascii display
ipchain__fprintf_graph() casts the number of hits in a branch as an
int, which means we lose its highests bits.
This results in meaningless number of callchain hits in perf.data
that have a high number of hits recorded, typically those that have
callchain branches hits appearing more than INT_MAX. This happens
easily as those are pondered by the event period.
Reported-by: Nick Piggin <npiggin@kernel.dk>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions