diff options
| author | Andi Kleen <[email protected]> | 2016-09-15 22:24:54 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-10-04 00:52:00 +0000 |
| commit | 0b1db474314c883d0bfc6720278667a6155e995a (patch) | |
| tree | 4fd4b0157b80eaa7cf72ef2a16ea037c89ebf587 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | perf tools: Make alias matching case-insensitive (diff) | |
| download | kernel-0b1db474314c883d0bfc6720278667a6155e995a.tar.gz kernel-0b1db474314c883d0bfc6720278667a6155e995a.zip | |
perf pmu-events: Fix fixed counters on Intel
The JSON event lists use a different encoding for fixed counters than
perf for instructions and cycles (ref-cycles is ok)
This lead to some common events like inst_retired.any or
cpu_clk_unhalted.thread not counting, when specified with their JSON
name.
Special case these events in the jevents conversion process. I prefer
to not touch the JSON files for this, as it's intended that standard
JSON files can be just dropped into the perf build without changes.
Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Sukadev Bhattiprolu <[email protected]>
[Fix minor compile error]
Acked-by: Ingo Molnar <[email protected]>
Cc: Madhavan Srinivasan <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions
