Re: [PATCH v5 13/13] perf stat: Use affinity for enabling/disabling events

Andi Kleen
2019-11-11T23:31:30Z

> then let's have some assert or BUG_ON on !all_cpus
> and remove the fallback code from close path

I tried it again, but in record mode evsel->cpus is usually NULL,
resulting in various crashes.

I think fixing this beyond the scope of this patchkit, so i will
keep the fallback checks for now. I'll add better comments though.

-Andi