1 %option prefix="perf_pmu_"
5 #include <linux/bitops.h>
9 static int value(int base)
14 num = strtoul(perf_pmu_text, NULL, base);
18 perf_pmu_lval.num = num;
28 {num_dec} { return value(10); }
29 config { return PP_CONFIG; }
30 config1 { return PP_CONFIG1; }
31 config2 { return PP_CONFIG2; }
40 int perf_pmu_wrap(void)