aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMichael J. Ruhl <[email protected]>2024-11-14 08:03:57 -0500
committerIlpo Järvinen <[email protected]>2024-11-14 15:16:50 +0200
commit0c32840763b1579c923b4216c18bb756ca4ba473 (patch)
tree9f3826c75eeed5320acd5a922c38054b73b2bd8f /tools/perf/scripts/python/stackcollapse.py
parent8560b2775a08bf511576a18922c3bde920e69494 (diff)
platform/x86/intel/pmt: allow user offset for PMT callbacks
Usage of the telem sysfs file allows for partial reads at an offset. The current callback method returns the buffer starting from offset 0 only. Include the requested offset in the callback and update the necessary address calculations with the offset. Note: offset addition is moved from the caller to the local usage. For non-callback usage this is unchanged behavior. Fixes: e92affc74cd8 ("platform/x86/intel/vsec: Add PMT read callbacks") Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Michael J. Ruhl <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions