[PATCH] perf arm-spe: Use old behavior when opening old SPE files
Leo Yan
leo.yan at arm.com
Tue Oct 29 09:46:28 PDT 2024
On Tue, Oct 29, 2024 at 02:37:33PM +0000, James Clark wrote:
>
> Since the linked commit, we stopped interpreting data source if the
> perf.data file doesn't have the new metadata version. This means that
> perf c2c will show no samples in this case.
>
> Keep the old behavior so old files can be opened, but also still show
> the new warning that updating might improve the decoding.
>
> Also re-write the warning to be more concise and specific to a user.
>
> Fixes: ba5e7169e548 ("perf arm-spe: Use metadata to decide the data source feature")
> Signed-off-by: James Clark <james.clark at linaro.org>
Reviewed-by: Leo Yan <leo.yan at arm.com>
More information about the linux-arm-kernel
mailing list