mbox series

[v2,0/1] coresight: etm4x: Fix kernel / user space filtering in perf

Message ID 20200819211015.28448-1-mike.leach@linaro.org (mailing list archive)
Headers show
Series coresight: etm4x: Fix kernel / user space filtering in perf | expand

Message

Mike Leach Aug. 19, 2020, 9:10 p.m. UTC
Kernel / User mode filtering was relying on side effect of access control of
default full address range filtering. This now uses the main control register
to remove dependency on address filter being present as default setting.

Changes since v1:
1. created helper fn to set filter values & improved comment.
2. added fix to sysfs mode settings

Mike Leach (1):
  coresight: etm4x: Ensure default perf settings filter user/kernel

 drivers/hwtracing/coresight/coresight-etm4x.c | 32 +++++++++++++------
 drivers/hwtracing/coresight/coresight-etm4x.h |  3 ++
 2 files changed, 25 insertions(+), 10 deletions(-)