On Fri, Jul 17, 2020 at 07:05:46AM -0700, [email protected] wrote: > From: Kan Liang <[email protected]> > > Many items are checked in the intel_pmu_disable/enable_event. More items > will be added later, e.g. perf metrics events. > > Use switch, which is more efficient, to replace the if-else.
Perhaps explain how; does this actually generate a jump-table?

