aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMathieu Poirier <[email protected]>2018-07-11 13:40:12 -0600
committerGreg Kroah-Hartman <[email protected]>2018-07-15 13:52:56 +0200
commit450367f06ef310af15f6424376ce9d5c7879c2d1 (patch)
tree0270fcdcbbbb34cd603b0af8df7fe3922661fd3e /tools/perf/scripts/python
parent7bd50ccf001f77db236af51797579359b09e2354 (diff)
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 <[email protected]> Reviewed-by: Kim Phillips <[email protected]> Acked-by: "Eric W. Biederman" <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions