diff options
| author | Jiri Olsa <[email protected]> | 2017-11-15 11:20:08 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-11-17 15:16:26 +0000 |
| commit | 05d3f1a1d5a3d37ca4b591d5524f5a5b159d0564 (patch) | |
| tree | 6fea5cd8024e59803c2e8f6ddf343280c9c7ae17 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | perf tools: Change (symbol|annotation)__calc_percent return type to void (diff) | |
| download | kernel-05d3f1a1d5a3d37ca4b591d5524f5a5b159d0564.tar.gz kernel-05d3f1a1d5a3d37ca4b591d5524f5a5b159d0564.zip | |
perf tools: Move symbol__calc_percent() call to outside symbol__disassemble()
We need to call symbol__calc_percent() periodicaly for top, so it's no
longer convenient to keep it in symbol__disassemble().
Let's separate the symbol__disassemble() to allocate and init
the symbol annotation structs and symbol__calc_percent() to
compute the lines percentages based on symbol hists data.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
