aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathieu Poirier <mathieu.poirier@linaro.org>2018-07-11 13:40:12 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-15 13:52:56 +0200
commit450367f06ef310af15f6424376ce9d5c7879c2d1 (patch)
tree0270fcdcbbbb34cd603b0af8df7fe3922661fd3e /include
parentcoresight: etm3x: Don't use contextID with PID namespaces (diff)
downloadlinux-dev-450367f06ef310af15f6424376ce9d5c7879c2d1.tar.xz
linux-dev-450367f06ef310af15f6424376ce9d5c7879c2d1.zip
coresight: etm4x: Don't use contextID with PID namespaces
As with ETM3x, the ETM4x tracers can trigger trace acquisition based on contextID value, something that isn't useful when PID namespaces are enabled. Indeed the PID value of a process has a different representation in the kernel and the PID namespace, making the feature confusing and potentially leaking internal kernel information. As such simply return an error when the feature is being used from a PID namespace other than the default one. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Reviewed-by: Kim Phillips <kim.phillips@arm.com> Acked-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions