summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2026-07-21 10:02:52 +0300
committerPeter Zijlstra <peterz@infradead.org>2026-08-07 18:27:06 +0200
commitc6df517796189723ffbdd7679206c97d3642c2ef (patch)
tree0969e1e34914b9ff5c9b2b6932f88f57cb2191bf /tools/perf/scripts/python/netdev-times.py
parent36c8b02c3fe9ba56d6f11ec055cd879bc49871f7 (diff)
perf/x86/intel/pt: Factor out pt_config_enable()
pt_config() enables tracing by allowing NMIs and pause/resume, issuing the necessary barriers, and calling pt_config_start(). A later change needs to re-enable tracing on a (re-)start path without repeating the full pt_config() setup (filters, RTIT_CTL, buffer configuration). Factor that enabling sequence out into a new helper, pt_config_enable(), so it can be called on its own. No functional change intended. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Yi Lai <yi1.lai@intel.com> Link: https://patch.msgid.link/20260721070254.13557-2-adrian.hunter@intel.com
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions