aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorSuzuki K Poulose <[email protected]>2021-02-24 09:48:33 -0700
committerArnaldo Carvalho de Melo <[email protected]>2021-03-02 09:48:22 -0300
commit30cb76aabfb4deab4ffef54882f86df319b4d862 (patch)
tree873102dcfe076f8e4472b1d71e706d83c38af9fb /tools/perf/scripts/python/sctop.py
parent8c559e8d68630d64d932bada633705f6551427df (diff)
perf cs-etm: Support PID tracing in config
If the kernel is running at EL2, the pid of a task is exposed via VMID instead of the CONTEXTID. Add support for this in the perf tool. This patch respects user setting if user has specified any configs from "contextid", "contextid1" or "contextid2"; otherwise, it dynamically sets config based on PMU format "contextid". Signed-off-by: Suzuki K Poulose <[email protected]> Co-developed-by: Leo Yan <[email protected]> Signed-off-by: Leo Yan <[email protected]> Reviewed-by: Mike Leach <[email protected]> Reviewed-by: Mathieu Poirier <[email protected]> Cc: Al Grant <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions