diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2017-06-30 11:36:45 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-06-30 11:48:28 -0300 |
commit | 3797307576191d7fb4c974cd461188162ac36f33 (patch) | |
tree | 30e9304b9e1580d681981d8ddf1dff21aeb411bd /lib/rational.c | |
parent | 4a9fd4e0effc94b9ec79250946a0054d4dd1a963 (diff) | |
download | talos-obmc-linux-3797307576191d7fb4c974cd461188162ac36f33.tar.gz talos-obmc-linux-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 <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1498811805-2335-1-git-send-email-adrian.hunter@intel.com
[ Copy the description of such packet from the patchkit cover message ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/rational.c')
0 files changed, 0 insertions, 0 deletions