Should perf version match kernel version?

From: Vitaly Chikunov
Date: Wed Jul 29 2020 - 11:56:53 EST


Hi,

It seems that most distros try to have perf version to match with
running kernel version. Is is requirement? Would it be better to have
single perf from kernel mainline to work with any (older) kernel
version?

We have different kernel versions in ALT Linux (stable for 4.19, 5.4,
and 5.7) and I want to understand if we should have three perfs or
single package will be enough.

Thanks,