Re: System crash with perf_fuzzer (kernel: 5.0.0-rc3)

From: Andi Kleen
Date: Wed Jan 30 2019 - 15:39:50 EST


Jiri Olsa <jolsa@xxxxxxxxxx> writes:
>
> the patch adds check_eriod pmu callback.. I need to check if there's
> better way to do this, but so far it fixes the crash for me
>
> if you guys could check this patch, that'd be great

There's already a limit_period callback, perhaps that could
be extended. But ok, can do it this way too.

I suspect there are some other cases that need this callback, not
just BTS, e.g. the checks in hsw_hw_config


-Andi