aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2018-08-04 15:05:09 +0200
committerArnaldo Carvalho de Melo <[email protected]>2018-08-08 15:55:48 -0300
commit6d9f0c2d5ef7568c29fa5927748c4915a9c7760a (patch)
tree632c0bc56a8edd9297aa5390aac20ff27063f52d /tools/perf/scripts/python/stackcollapse.py
parent2bcf73069b0722c92a84c0fd57df542890a74904 (diff)
perf annotate: Switch struct annotation_data::percent to array
So we can hold multiple percent values for annotation line. The first member of this array is current local hits percent value (PERCENT_HITS_LOCAL index), so no functional change is expected. Adding annotation_data__percent function to return requested percent value from struct annotation_data. Signed-off-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: David Ahern <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions