diff options
author | Jiri Olsa <[email protected]> | 2019-10-20 00:07:26 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-10-20 14:42:28 +0200 |
commit | 13301c6b16a6d809b331bb88e40ab9ce38238b8b (patch) | |
tree | 5f45a07f8c4a4d93be671c5d75c417ba01cdb8ed /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
parent | 4f5cafb5cb8471e54afdc9054d973535614f7675 (diff) |
perf/x86/intel/pt: Fix base for single entry topa
Jan reported failing ltp test for PT:
https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/tracing/pt_test/pt_test.c
It looks like the reason is this new commit added in this v5.4 merge window:
38bb8d77d0b9 ("perf/x86/intel/pt: Split ToPA metadata and page layout")
which did not keep the TOPA_SHIFT for entry base.
Add it back.
Reported-by: Jan Stancek <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Fixes: 38bb8d77d0b9 ("perf/x86/intel/pt: Split ToPA metadata and page layout")
Link: https://lkml.kernel.org/r/[email protected]
[ Minor changelog edits. ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions