mbox series

[0/5] perf/core: Address filter fixes / changes

Message ID 20220131072453.2839535-1-adrian.hunter@intel.com (mailing list archive)
Headers show
Series perf/core: Address filter fixes / changes | expand

Message

Adrian Hunter Jan. 31, 2022, 7:24 a.m. UTC
Hi

Here are some Address Filter fixes and changes, primarily for Intel PT, but
Coresight could be affected also by "perf/core: Allow kernel address filter
when not filtering the kernel".

A resulting tidy-up ("x86: Share definition of __is_canonical_address()")
touches a few otherwise unrelated files in mm and kvm, but there are no
functional changes there.


Adrian Hunter (5):
      perf/x86/intel/pt: Relax address filter validation
      x86: Share definition of __is_canonical_address()
      perf/core: Fix address filter parser for multiple filters
      perf/x86/intel/pt: Fix address filter config for 32-bit kernel
      perf/core: Allow kernel address filter when not filtering the kernel

 arch/x86/events/intel/pt.c  | 55 +++++++++++++++++++++++++++++++++------------
 arch/x86/include/asm/page.h | 10 +++++++++
 arch/x86/kvm/emulate.c      |  4 ++--
 arch/x86/kvm/x86.c          |  2 +-
 arch/x86/kvm/x86.h          |  7 +-----
 arch/x86/mm/maccess.c       |  7 +-----
 kernel/events/core.c        |  5 +++--
 7 files changed, 59 insertions(+), 31 deletions(-)


Regards
Adrian

Comments

Peter Zijlstra Feb. 1, 2022, 1:25 p.m. UTC | #1
On Mon, Jan 31, 2022 at 09:24:48AM +0200, Adrian Hunter wrote:
> Adrian Hunter (5):
>       perf/x86/intel/pt: Relax address filter validation
>       x86: Share definition of __is_canonical_address()
>       perf/core: Fix address filter parser for multiple filters
>       perf/x86/intel/pt: Fix address filter config for 32-bit kernel
>       perf/core: Allow kernel address filter when not filtering the kernel
> 
>  arch/x86/events/intel/pt.c  | 55 +++++++++++++++++++++++++++++++++------------
>  arch/x86/include/asm/page.h | 10 +++++++++
>  arch/x86/kvm/emulate.c      |  4 ++--
>  arch/x86/kvm/x86.c          |  2 +-
>  arch/x86/kvm/x86.h          |  7 +-----
>  arch/x86/mm/maccess.c       |  7 +-----
>  kernel/events/core.c        |  5 +++--
>  7 files changed, 59 insertions(+), 31 deletions(-)

Thanks! queued then for perf/core, if they're urgent give a shout and
I'll see if I can stick them in perf/urgent instead.