diff options
| author | Jiri Olsa <[email protected]> | 2017-10-11 15:01:40 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-11-16 17:37:49 +0000 |
| commit | 073ae601edc211383b62618effaaedaa8b1d22db (patch) | |
| tree | 2a4187da8332b9fb549bf5b927a3f7ddd6f286b6 /tools/perf/ui/browsers/annotate.c | |
| parent | perf annotate: Add samples into struct annotation_line (diff) | |
| download | kernel-073ae601edc211383b62618effaaedaa8b1d22db.tar.gz kernel-073ae601edc211383b62618effaaedaa8b1d22db.zip | |
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/ui/browsers/annotate.c')
0 files changed, 0 insertions, 0 deletions
