aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJames Clark <[email protected]>2023-03-08 09:48:43 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-03-13 20:42:27 +0000
commite5af139715aaf17f25bc50638a7ca67973fce2af (patch)
treedd6a4d947d80841b3898160c0bdb6d109535bd58 /tools/perf/scripts/python/netdev-times.py
parentperf cs-etm: Reduce verbosity of ts_source warning (diff)
downloadkernel-e5af139715aaf17f25bc50638a7ca67973fce2af.tar.gz
kernel-e5af139715aaf17f25bc50638a7ca67973fce2af.zip
perf cs-etm: Avoid printing warning in cs_etm_is_ete() check
When checking for the presence of ETE, a register is read that may not be present on older kernels or if ETE isn't available. cs_etm_get_ro() will print a warning if it doesn't exist, so check for the existence first before accessing it. Reviewed-by: Leo Yan <[email protected]> Signed-off-by: James Clark <[email protected]> Cc: Al Grant <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: John Garry <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mathieu Poirier <[email protected]> Cc: Mike Leach <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Suzuki Poulouse <[email protected]> Cc: Will Deacon <[email protected]> Cc: [email protected] Cc: [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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions