Re: [PATCH] perf/amd/ibs: Report physical address for IBS fetch samples

From: Ravi Bangoria

Date: Thu Sep 03 2026 - 07:58:52 EST


Hi Huang,

> The IBS Fetch sampling does not report the physical address of the
> fetched instruction even when PERF_SAMPLE_PHYS_ADDR is requested,
> while IBS Op sampling does.
>
> This patch reports physical address for IBS fetch samples which can be
> used for profiling the running program.

As I understand it, we decided not to pursue this because it changes
the semantics of PERF_SAMPLE_PHYS_ADDR _only_ for the IBS Fetch PMU,
which is confusing. The alternative is to use PERF_SAMPLE_RAW and
extract the physical address from the raw data.

Thanks,
Ravi