aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid E. Box <[email protected]>2024-07-25 08:23:42 -0400
committerHans de Goede <[email protected]>2024-08-12 16:21:31 +0200
commit045a513040cc0242d364c05c3791594e2294f32d (patch)
tree3955cb4bfcabf537483a850a91e06db06249fbf1 /tools/perf/scripts/python
parente92affc74cd8624a548b380af7364be037adef35 (diff)
platform/x86/intel/pmt: Use PMT callbacks
PMT providers may require device specific actions before their telemetry may be read. If the read_telem() is assigned, call it instead of memcpy_fromio() and return. Since this needs to be done in multiple locations, add pmt_telem_read_mmio() as a wrapper function to perform this and any other needed checks. Reviewed-by: Ilpo Järvinen <[email protected]> Reviewed-by: Michael J. Ruhl <[email protected]> Signed-off-by: David E. Box <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions