diff options
author | Adrian Hunter <[email protected]> | 2019-05-20 14:37:13 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-06-05 09:47:56 -0300 |
commit | 5b1dc0fd1da06d6e89f1ca8736cfe0ee84e34cc7 (patch) | |
tree | f26b54691badf4c122837377ac317bb267362eff /tools/perf/scripts/python/intel-pt-events.py | |
parent | 61d276f428a11f0e4ce5203462fa488e6570684f (diff) |
perf intel-pt: Add support for samples to contain IPC ratio
Copy the incremental instruction count and cycle count onto 'instructions'
and 'branches' samples.
Because Intel PT does not update the cycle count on every branch or
instruction, the incremental values will often be zero.
When there are values, they will be the number of instructions and
number of cycles since the last update, and thus represent the average
IPC since the last IPC value.
Signed-off-by: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[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/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions