summaryrefslogtreecommitdiffstats
path: root/include/xen
diff options
context:
space:
mode:
authorMike Leach <mike.leach@linaro.org>2020-09-16 13:17:28 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-17 18:46:04 +0200
commit096dcfb9cd6fefa7c03884b50c247593dc5f7dd3 (patch)
treea741e8db04930bde68d30d8041151f912ccbc2eb /include/xen
parent6e8836c6df5327bdb24211424f1ad1411d1ed64a (diff)
downloadlinux-096dcfb9cd6fefa7c03884b50c247593dc5f7dd3.tar.gz
linux-096dcfb9cd6fefa7c03884b50c247593dc5f7dd3.tar.bz2
linux-096dcfb9cd6fefa7c03884b50c247593dc5f7dd3.zip
coresight: etm4x: Ensure default perf settings filter user/kernel
Moving from using an address filter to trace the default "all addresses" range to no filtering to acheive the same result, has caused the perf filtering of kernel/user address spaces from not working unless an explicit address filter was used. This is due to the original code using a side-effect of the address filtering rather than setting the global TRCVICTLR exception level filtering. The use of the mode sysfs file is also similarly affected. A helper function is added to fix both instances. Fixes: ae2041510d5d ("coresight: etmv4: Update default filter and initialisation") Reported-by: Leo Yan <leo.yan@linaro.org> Tested-by: Leo Yan <leo.yan@linaro.org> Reviewed-by: Leo Yan <leo.yan@linaro.org> Signed-off-by: Mike Leach <mike.leach@linaro.org> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Link: https://lore.kernel.org/r/20200916191737.4001561-8-mathieu.poirier@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions