aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorArmin Wolf <[email protected]>2023-10-19 15:51:22 +0200
committerIlpo Järvinen <[email protected]>2023-10-25 12:29:44 +0300
commit02a258ac3ebf8a530d340ec24a694c13ac9d25c0 (patch)
treee98b2d91e5782324f9f5e35f5f0ddbe62fcd226c /tools/perf/util/trace-event-scripting.c
parent858bd78c9d324781217bb42a87766ca9194809ca (diff)
platform/x86/amd/hsmp: Fix iomem handling
Since the metrics table is marked as io memory, use memcpy_fromio() when copying its contents. Compile-tested only. Fixes: 5150542b8ec5 ("platform/x86/amd/hsmp: add support for metrics tbl") Signed-off-by: Armin Wolf <[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/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions