diff options
author | Alexander Shishkin <[email protected]> | 2019-03-29 11:12:12 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-04-16 12:13:57 +0200 |
commit | 52a44f83fc2d64a5e74d5d685fad2fecc7b7a321 (patch) | |
tree | be73eab6eb5ffd1a8f9d08a884efbf434e6a26c6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5f843ed415581cfad4ef8fefe31c138a8346ca8a (diff) |
perf/core: Fix the address filtering fix
The following recent commit:
c60f83b813e5 ("perf, pt, coresight: Fix address filters for vmas with non-zero offset")
changes the address filtering logic to communicate filter ranges to the PMU driver
via a single address range object, instead of having the driver do the final bit of
math.
That change forgets to take into account kernel filters, which are not calculated
the same way as DSO based filters.
Fix that by passing the kernel filters the same way as file-based filters.
This doesn't require any additional changes in the drivers.
Reported-by: Adrian Hunter <[email protected]>
Signed-off-by: Alexander Shishkin <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Fixes: c60f83b813e5 ("perf, pt, coresight: Fix address filters for vmas with non-zero offset")
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions