Lines Matching +full:a +full:- +full:f0 +full:- +full:9
3 %option bison-bridge
6 %option bison-locations
16 #include "parse-events.h"
17 #include "parse-events-bison.h"
32 yylval->num = num; in __value()
58 yylval->str = strdup(text); in str()
61 * If a text tag specified on the command line in str()
69 yylval->str = strndup(&text[1], strlen(text) - 2); in str()
81 if ((text[len - 1] == 'c' || text[len - 1] == 'o') && in isbpf_suffix()
82 text[len - 2] == '.') in isbpf_suffix()
84 if (len > 4 && !strcmp(text + len - 4, ".obj")) in isbpf_suffix()
116 yylval->str = strdup(text + 1); in drv_str()
126 __yylval->str = strdup(text); \
128 yycolumn -= strlen(text); \
137 yylval->str = strdup(text); in pmu_str_check()
154 yylval->num = (type << 16) + config; in sym()
162 yylval->num = event; in tool()
170 yylval->num = type; in term()
176 yylloc->last_column = yylloc->first_column; \
177 yylloc->first_column = yycolumn; \
182 yycolumn -= yyleng; \
195 bpf_object [^,{}]+\.(o|bpf)[a-zA-Z0-9._]*
196 bpf_source [^,{}]+\.c[a-zA-Z0-9._]*
198 num_dec [0-9]+
199 num_hex 0x[a-fA-F0-9]+
200 num_raw_hex [a-fA-F0-9]+
201 name [a-zA-Z_*?\[\]][a-zA-Z0-9_*?.\[\]]*
202 name_tag [\'][a-zA-Z_*?\[\]][a-zA-Z0-9_*?\-,\.\[\]:=]*[\']
203 name_minus [a-zA-Z_*?][a-zA-Z0-9\-_*?.:]*
204 drv_cfg_term [a-zA-Z0-9_\.]+(=[a-zA-Z0-9_*?\.:]+)?
205 /* If you add a modifier you need to update check_modifier() */
278 call-graph { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CALLGRAPH); }
279 stack-size { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_STACKSIZE); }
280 max-stack { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_MAX_STACK); }
283 no-inherit { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_NOINHERIT); }
285 no-overwrite { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_NOOVERWRITE); }
287 aux-output { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_AUX_OUTPUT); }
316 cpu-cycles|cycles { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_CPU_CYCLES); }
317 stalled-cycles-frontend|idle-cycles-frontend { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT…
318 stalled-cycles-backend|idle-cycles-backend { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_H…
320 cache-references { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_CACHE_REFERENCES); }
321 cache-misses { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_CACHE_MISSES); }
322 branch-instructions|branches { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_BRANCH_INS…
323 branch-misses { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_BRANCH_MISSES); }
324 bus-cycles { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_BUS_CYCLES); }
325 ref-cycles { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_REF_CPU_CYCLES); }
326 cpu-clock { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_CPU_CLOCK); }
327 task-clock { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_TASK_CLOCK); }
328 page-faults|faults { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_PAGE_FAULTS); }
329 minor-faults { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_PAGE_FAULTS_MIN); }
330 major-faults { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_PAGE_FAULTS_MAJ); }
331 context-switches|cs { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_CONTEXT_SWITCHES);…
332 cpu-migrations|migrations { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_CPU_MIGRATION…
333 alignment-faults { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_ALIGNMENT_FAULTS); }
334 emulation-faults { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_EMULATION_FAULTS); }
337 bpf-output { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_BPF_OUTPUT); }
340 * We have to handle the kernel PMU event cycles-ct/cycles-t/mem-loads/mem-stores separately.
341 * Because the prefix cycles is mixed up with cpu-cycles.
344 cycles-ct { return str(yyscanner, PE_KERNEL_PMU_EVENT); }
345 cycles-t { return str(yyscanner, PE_KERNEL_PMU_EVENT); }
346 mem-loads { return str(yyscanner, PE_KERNEL_PMU_EVENT); }
347 mem-stores { return str(yyscanner, PE_KERNEL_PMU_EVENT); }
348 topdown-[a-z-]+ { return str(yyscanner, PE_KERNEL_PMU_EVENT); }
350 L1-dcache|l1-d|l1d|L1-data |
351 L1-icache|l1-i|l1i|L1-instruction |
353 dTLB|d-tlb|Data-TLB |
354 iTLB|i-tlb|Instruction-TLB |
361 speculative-read|speculative-load |
376 - { return '-'; }