android_kernel_xiaomi_sm8350/tools/perf/util
Frederic Weisbecker d425de5436 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>
2011-01-03 16:13:11 +01:00
..
include perf: Add back list_head data types 2010-08-12 21:50:00 +02:00
scripting-engines
ui perf, ui: Eliminate stack-smashing protection compiler complaint 2010-11-10 09:04:32 +01:00
abspath.c
alias.c
bitmap.c
build-id.c perf tools: Release thread resources on PERF_RECORD_EXIT 2010-07-30 18:28:42 -03:00
build-id.h
cache.h perf tools: add test for strlcpy() 2010-08-21 11:22:47 -03:00
callchain.c perf: Support for callchains merge 2010-08-22 21:10:35 +02:00
callchain.h Merge branch 'perf/urgent' into perf/core 2010-08-27 02:30:07 +02:00
color.c
color.h
config.c
cpumap.c
cpumap.h
ctype.c
debug.c perf scripting: Shut up 'perf record' final status 2010-10-26 15:20:09 -02:00
debug.h perf scripting: Shut up 'perf record' final status 2010-10-26 15:20:09 -02:00
debugfs.c
debugfs.h
environment.c
event.c perf: expose event__process function 2010-08-04 12:41:23 -03:00
event.h perf: expose event__process function 2010-08-04 12:41:23 -03:00
exec_cmd.c
exec_cmd.h
generate-cmdlist.sh
header.c perf buildid-cache: Fix symbolic link handling 2010-12-16 09:41:45 -02:00
header.h
help.c
help.h
hist.c perf: Fix callchain hit bad cast on ascii display 2011-01-03 16:13:11 +01:00
hist.h perf annotate: Sort by hottest lines in the TUI 2010-08-10 16:11:42 -03:00
hweight.c
levenshtein.c
levenshtein.h
map.c perf tools: Don't keep unreferenced maps when unmaps are detected 2010-08-02 19:45:23 -03:00
map.h perf probe: Add basic module support 2010-10-21 16:11:44 -02:00
pager.c
parse-events.c
parse-events.h
parse-options.c
parse-options.h
path.c perf tools: add test for strlcpy() 2010-08-21 11:22:47 -03:00
PERF-VERSION-GEN perf: Version String fix, for fallback if not from git 2010-07-05 10:42:58 +02:00
probe-event.c perf symbols: Stop using vmlinux files with no symbols 2010-12-16 09:41:45 -02:00
probe-event.h perf probe: Add basic module support 2010-10-21 16:11:44 -02:00
probe-finder.c perf probe: Fix to support libdwfl older than 0.148 2010-12-21 19:24:57 -02:00
probe-finder.h perf probe: Add basic module support 2010-10-21 16:11:44 -02:00
pstack.c
pstack.h perf ui: Move hists browser to util/ui/browsers/ 2010-08-10 16:11:08 -03:00
quote.c
quote.h
run-command.c
run-command.h
session.c perf session: Invalidate last_match when removing threads from rb_tree 2010-08-02 19:01:09 -03:00
session.h
sigchain.c
sigchain.h
sort.c perf hists: Fixup addr snprintf width on 32 bit arches 2010-08-05 19:38:01 -03:00
sort.h perf: Keep track of the max depth of a callchain 2010-08-22 20:43:17 +02:00
strbuf.c
strbuf.h
string.c perf tools: Fix lazy wildcard matching 2010-12-21 19:15:42 -02:00
strlist.c
strlist.h
svghelper.c
svghelper.h
symbol.c perf probe: Fix use of kernel image path given by 'k' option 2010-12-16 09:41:45 -02:00
symbol.h perf probe: Fix use of kernel image path given by 'k' option 2010-12-16 09:41:45 -02:00
thread.c perf tools: Release thread resources on PERF_RECORD_EXIT 2010-07-30 18:28:42 -03:00
thread.h perf tools: Release thread resources on PERF_RECORD_EXIT 2010-07-30 18:28:42 -03:00
trace-event-info.c
trace-event-parse.c
trace-event-read.c
trace-event-scripting.c perf trace scripting: Fix extern struct definitions 2010-10-04 12:24:51 -03:00
trace-event.h
types.h
usage.c
util.c
util.h perf ui browser: Return the exit key in all browsers 2010-08-19 19:39:52 -03:00
values.c
values.h
wrapper.c