On Fri, Jul 17, 2020 at 07:05:46AM -0700, kan.li...@linux.intel.com wrote:
> From: Kan Liang <kan.li...@linux.intel.com>
> 
> 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?

Reply via email to