diff options
| author | Adrian Hunter <[email protected]> | 2017-06-30 08:36:45 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-06-30 14:48:28 +0000 |
| commit | 3797307576191d7fb4c974cd461188162ac36f33 (patch) | |
| tree | 30e9304b9e1580d681981d8ddf1dff21aeb411bd /tools/perf/scripts/python/intel-pt-events.py | |
| parent | perf intel-pt: Move code in intel_pt_synth_events() to simplify attr setting (diff) | |
| download | kernel-3797307576191d7fb4c974cd461188162ac36f33.tar.gz kernel-3797307576191d7fb4c974cd461188162ac36f33.zip | |
perf intel-pt: Synthesize new power and "ptwrite" events
Synthesize new power and ptwrite events.
Power events report changes to C-state but I have also added support
for the existing CBR (core-to-bus ratio) packet and included that
when outputting power events.
The PTWRITE packet is associated with the new "ptwrite" instruction,
which is essentially just a way to stuff a 32 or 64 bit value into the
PT trace.
More details can be found in the patches that add documentation and in
the Intel SDM.
Signed-off-by: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Copy the description of such packet from the patchkit cover message ]
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
