diff options
author | Kan Liang <[email protected]> | 2019-07-23 13:04:29 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-07-25 15:41:29 +0200 |
commit | 3d0c3953601d250175c7684ec0d9df612061dae5 (patch) | |
tree | 18bf09e2d1ec0246b9fbb2de20b935f5609fbbd1 /tools/perf/util/trace-event-scripting.c | |
parent | 49902052fc6b9babf5b60fb5e31b821299f3f675 (diff) |
perf/x86/intel: Fix SLOTS PEBS event constraint
Sampling SLOTS event and ref-cycles event in a group on Icelake gives
EINVAL.
SLOTS event is the event stands for the fixed counter 3, not fixed
counter 2. Wrong mask was set to SLOTS event in
intel_icl_pebs_event_constraints[].
Reported-by: Andi Kleen <[email protected]>
Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Fixes: 6017608936c1 ("perf/x86/intel: Add Icelake support")
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions