aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2017-10-11 17:01:40 +0200
committerArnaldo Carvalho de Melo <[email protected]>2017-11-16 14:37:49 -0300
commit073ae601edc211383b62618effaaedaa8b1d22db (patch)
tree2a4187da8332b9fb549bf5b927a3f7ddd6f286b6 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent7e304557ead5b309d59807b2f05ed47f2c0076c6 (diff)
perf annotate: Add symbol__calc_percent function
Add symbol__calc_percent function, that calculates annotation data for symbol and put the data in the struct annotation_line::samples array. Committer notes: Made symbol__calc_percent non static to be used in the next two patches, which will get some fixups from jolsa, doing it this way to keep this bisectable. Signed-off-by: Jiri Olsa <[email protected]> Cc: Andi Kleen <[email protected]> Cc: David Ahern <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions