diff options
author | Leo Yan <[email protected]> | 2023-10-14 15:41:58 +0800 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2023-10-17 12:40:51 -0700 |
commit | f8ccc2d5cc6516b019bcf8e361ae2a380cb36019 (patch) | |
tree | 047411361cf1e1ead623b5d822d73d480c4d5e41 /scripts/gdb/linux/pgtable.py | |
parent | 0197da7affab502cd6e25da616ad038b169a7a77 (diff) |
perf cs-etm: Validate timestamp tracing in per-thread mode
So far, it's impossible to validate timestamp trace in Arm CoreSight when
the perf is in the per-thread mode. E.g. for the command:
perf record -e cs_etm/timestamp/ --per-thread -- ls
The command enables config 'timestamp' for 'cs_etm' event in the
per-thread mode. In this case, the function cs_etm_validate_config()
directly bails out and skips validation.
Given profiled process can be scheduled on any CPUs in the per-thread
mode, this patch validates timestamp tracing for all CPUs when detect
the CPU map is empty.
Signed-off-by: Leo Yan <[email protected]>
Reviewed-by: James Clark <[email protected]>
Acked-by: Suzuki K Poulose <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Mike Leach <[email protected]>
Cc: John Garry <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/pgtable.py')
0 files changed, 0 insertions, 0 deletions