Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 1 | |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 2 | %option reentrant |
| 3 | %option bison-bridge |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 4 | %option prefix="parse_events_" |
Jiri Olsa | 08d2f76 | 2012-05-21 09:12:52 +0200 | [diff] [blame] | 5 | %option stack |
Jiri Olsa | 6297d42 | 2015-04-22 21:10:17 +0200 | [diff] [blame] | 6 | %option bison-locations |
| 7 | %option yylineno |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 8 | |
| 9 | %{ |
| 10 | #include <errno.h> |
| 11 | #include "../perf.h" |
| 12 | #include "parse-events-bison.h" |
Jiri Olsa | 8f707d8 | 2012-03-15 20:09:16 +0100 | [diff] [blame] | 13 | #include "parse-events.h" |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 14 | |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 15 | char *parse_events_get_text(yyscan_t yyscanner); |
| 16 | YYSTYPE *parse_events_get_lval(yyscan_t yyscanner); |
| 17 | |
| 18 | static int __value(YYSTYPE *yylval, char *str, int base, int token) |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 19 | { |
Robert Richter | b527bab | 2012-08-07 19:43:13 +0200 | [diff] [blame] | 20 | u64 num; |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 21 | |
| 22 | errno = 0; |
Robert Richter | b527bab | 2012-08-07 19:43:13 +0200 | [diff] [blame] | 23 | num = strtoull(str, NULL, base); |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 24 | if (errno) |
| 25 | return PE_ERROR; |
| 26 | |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 27 | yylval->num = num; |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 28 | return token; |
| 29 | } |
| 30 | |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 31 | static int value(yyscan_t scanner, int base) |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 32 | { |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 33 | YYSTYPE *yylval = parse_events_get_lval(scanner); |
| 34 | char *text = parse_events_get_text(scanner); |
| 35 | |
| 36 | return __value(yylval, text, base, PE_VALUE); |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 37 | } |
| 38 | |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 39 | static int raw(yyscan_t scanner) |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 40 | { |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 41 | YYSTYPE *yylval = parse_events_get_lval(scanner); |
| 42 | char *text = parse_events_get_text(scanner); |
| 43 | |
| 44 | return __value(yylval, text + 1, 16, PE_RAW); |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 45 | } |
| 46 | |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 47 | static int str(yyscan_t scanner, int token) |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 48 | { |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 49 | YYSTYPE *yylval = parse_events_get_lval(scanner); |
| 50 | char *text = parse_events_get_text(scanner); |
| 51 | |
| 52 | yylval->str = strdup(text); |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 53 | return token; |
| 54 | } |
| 55 | |
Jiri Olsa | 6297d42 | 2015-04-22 21:10:17 +0200 | [diff] [blame] | 56 | #define REWIND(__alloc) \ |
| 57 | do { \ |
| 58 | YYSTYPE *__yylval = parse_events_get_lval(yyscanner); \ |
| 59 | char *text = parse_events_get_text(yyscanner); \ |
| 60 | \ |
| 61 | if (__alloc) \ |
| 62 | __yylval->str = strdup(text); \ |
| 63 | \ |
| 64 | yycolumn -= strlen(text); \ |
| 65 | yyless(0); \ |
| 66 | } while (0) |
| 67 | |
Kan Liang | ba32a45 | 2014-10-07 11:08:51 -0400 | [diff] [blame] | 68 | static int pmu_str_check(yyscan_t scanner) |
| 69 | { |
| 70 | YYSTYPE *yylval = parse_events_get_lval(scanner); |
| 71 | char *text = parse_events_get_text(scanner); |
| 72 | |
| 73 | yylval->str = strdup(text); |
| 74 | switch (perf_pmu__parse_check(text)) { |
| 75 | case PMU_EVENT_SYMBOL_PREFIX: |
| 76 | return PE_PMU_EVENT_PRE; |
| 77 | case PMU_EVENT_SYMBOL_SUFFIX: |
| 78 | return PE_PMU_EVENT_SUF; |
| 79 | case PMU_EVENT_SYMBOL: |
| 80 | return PE_KERNEL_PMU_EVENT; |
| 81 | default: |
| 82 | return PE_NAME; |
| 83 | } |
| 84 | } |
| 85 | |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 86 | static int sym(yyscan_t scanner, int type, int config) |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 87 | { |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 88 | YYSTYPE *yylval = parse_events_get_lval(scanner); |
| 89 | |
| 90 | yylval->num = (type << 16) + config; |
Jiri Olsa | cf3506d | 2012-07-04 00:00:43 +0200 | [diff] [blame] | 91 | return type == PERF_TYPE_HARDWARE ? PE_VALUE_SYM_HW : PE_VALUE_SYM_SW; |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 92 | } |
| 93 | |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 94 | static int term(yyscan_t scanner, int type) |
Jiri Olsa | 8f707d8 | 2012-03-15 20:09:16 +0100 | [diff] [blame] | 95 | { |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 96 | YYSTYPE *yylval = parse_events_get_lval(scanner); |
| 97 | |
| 98 | yylval->num = type; |
Jiri Olsa | 8f707d8 | 2012-03-15 20:09:16 +0100 | [diff] [blame] | 99 | return PE_TERM; |
| 100 | } |
| 101 | |
Jiri Olsa | 6297d42 | 2015-04-22 21:10:17 +0200 | [diff] [blame] | 102 | #define YY_USER_ACTION \ |
| 103 | do { \ |
| 104 | yylloc->last_column = yylloc->first_column; \ |
| 105 | yylloc->first_column = yycolumn; \ |
| 106 | yycolumn += yyleng; \ |
| 107 | } while (0); |
| 108 | |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 109 | %} |
| 110 | |
Jiri Olsa | 08d2f76 | 2012-05-21 09:12:52 +0200 | [diff] [blame] | 111 | %x mem |
Robert Richter | ac2ba9f | 2012-08-16 21:10:21 +0200 | [diff] [blame] | 112 | %s config |
| 113 | %x event |
| 114 | |
| 115 | group [^,{}/]*[{][^}]*[}][^,{}/]* |
| 116 | event_pmu [^,{}/]+[/][^/]*[/][^,{}/]* |
| 117 | event [^,{}/]+ |
Jiri Olsa | 08d2f76 | 2012-05-21 09:12:52 +0200 | [diff] [blame] | 118 | |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 119 | num_dec [0-9]+ |
| 120 | num_hex 0x[a-fA-F0-9]+ |
| 121 | num_raw_hex [a-fA-F0-9]+ |
Andi Kleen | 5b021dd | 2015-06-10 00:25:11 -0700 | [diff] [blame] | 122 | name [a-zA-Z_*?][a-zA-Z0-9_*?.]* |
| 123 | name_minus [a-zA-Z_*?][a-zA-Z0-9\-_*?.]* |
Michael Ellerman | e9a7c41 | 2013-08-06 23:28:05 +1000 | [diff] [blame] | 124 | /* If you add a modifier you need to update check_modifier() */ |
Jiri Olsa | a1e12da | 2015-04-07 23:25:14 +0200 | [diff] [blame] | 125 | modifier_event [ukhpGHSDI]+ |
Jiri Olsa | 7582732 | 2012-06-29 09:22:54 +0200 | [diff] [blame] | 126 | modifier_bp [rwx]{1,3} |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 127 | |
| 128 | %% |
Jiri Olsa | 90e2b22 | 2012-06-15 14:31:40 +0800 | [diff] [blame] | 129 | |
| 130 | %{ |
| 131 | { |
| 132 | int start_token; |
| 133 | |
Robert Richter | ac2ba9f | 2012-08-16 21:10:21 +0200 | [diff] [blame] | 134 | start_token = parse_events_get_extra(yyscanner); |
| 135 | |
| 136 | if (start_token == PE_START_TERMS) |
| 137 | BEGIN(config); |
| 138 | else if (start_token == PE_START_EVENTS) |
| 139 | BEGIN(event); |
| 140 | |
Jiri Olsa | 90e2b22 | 2012-06-15 14:31:40 +0800 | [diff] [blame] | 141 | if (start_token) { |
| 142 | parse_events_set_extra(NULL, yyscanner); |
Jiri Olsa | 6297d42 | 2015-04-22 21:10:17 +0200 | [diff] [blame] | 143 | /* |
| 144 | * The flex parser does not init locations variable |
| 145 | * via the scan_string interface, so we need do the |
| 146 | * init in here. |
| 147 | */ |
| 148 | yycolumn = 0; |
Jiri Olsa | 90e2b22 | 2012-06-15 14:31:40 +0800 | [diff] [blame] | 149 | return start_token; |
| 150 | } |
| 151 | } |
| 152 | %} |
| 153 | |
Robert Richter | ac2ba9f | 2012-08-16 21:10:21 +0200 | [diff] [blame] | 154 | <event>{ |
| 155 | |
| 156 | {group} { |
Jiri Olsa | 6297d42 | 2015-04-22 21:10:17 +0200 | [diff] [blame] | 157 | BEGIN(INITIAL); |
| 158 | REWIND(0); |
Robert Richter | ac2ba9f | 2012-08-16 21:10:21 +0200 | [diff] [blame] | 159 | } |
| 160 | |
| 161 | {event_pmu} | |
| 162 | {event} { |
Jiri Olsa | 6297d42 | 2015-04-22 21:10:17 +0200 | [diff] [blame] | 163 | BEGIN(INITIAL); |
| 164 | REWIND(1); |
Robert Richter | ac2ba9f | 2012-08-16 21:10:21 +0200 | [diff] [blame] | 165 | return PE_EVENT_NAME; |
| 166 | } |
| 167 | |
Robert Richter | ac2ba9f | 2012-08-16 21:10:21 +0200 | [diff] [blame] | 168 | <<EOF>> { |
Jiri Olsa | 6297d42 | 2015-04-22 21:10:17 +0200 | [diff] [blame] | 169 | BEGIN(INITIAL); |
| 170 | REWIND(0); |
Robert Richter | ac2ba9f | 2012-08-16 21:10:21 +0200 | [diff] [blame] | 171 | } |
| 172 | |
| 173 | } |
| 174 | |
Jiri Olsa | 8200422 | 2013-09-27 18:29:58 +0200 | [diff] [blame] | 175 | <config>{ |
Jiri Olsa | e64b020 | 2015-04-22 21:10:21 +0200 | [diff] [blame] | 176 | /* |
| 177 | * Please update formats_error_string any time |
| 178 | * new static term is added. |
| 179 | */ |
Jiri Olsa | 8200422 | 2013-09-27 18:29:58 +0200 | [diff] [blame] | 180 | config { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG); } |
| 181 | config1 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG1); } |
| 182 | config2 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG2); } |
| 183 | name { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_NAME); } |
| 184 | period { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_PERIOD); } |
Namhyung Kim | 09af2a5 | 2015-08-09 15:45:23 +0900 | [diff] [blame] | 185 | freq { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_FREQ); } |
Jiri Olsa | 8200422 | 2013-09-27 18:29:58 +0200 | [diff] [blame] | 186 | branch_type { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_BRANCH_SAMPLE_TYPE); } |
Kan Liang | 3206771 | 2015-08-04 04:30:19 -0400 | [diff] [blame] | 187 | time { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_TIME); } |
Kan Liang | d457c96 | 2015-08-11 06:30:47 -0400 | [diff] [blame] | 188 | call-graph { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CALLGRAPH); } |
| 189 | stack-size { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_STACKSIZE); } |
Jiri Olsa | 8200422 | 2013-09-27 18:29:58 +0200 | [diff] [blame] | 190 | , { return ','; } |
| 191 | "/" { BEGIN(INITIAL); return '/'; } |
| 192 | {name_minus} { return str(yyscanner, PE_NAME); } |
| 193 | } |
| 194 | |
| 195 | <mem>{ |
| 196 | {modifier_bp} { return str(yyscanner, PE_MODIFIER_BP); } |
| 197 | : { return ':'; } |
Jacob Shin | 3741eb9 | 2014-05-29 17:26:51 +0200 | [diff] [blame] | 198 | "/" { return '/'; } |
Jiri Olsa | 8200422 | 2013-09-27 18:29:58 +0200 | [diff] [blame] | 199 | {num_dec} { return value(yyscanner, 10); } |
| 200 | {num_hex} { return value(yyscanner, 16); } |
| 201 | /* |
| 202 | * We need to separate 'mem:' scanner part, in order to get specific |
| 203 | * modifier bits parsed out. Otherwise we would need to handle PE_NAME |
| 204 | * and we'd need to parse it manually. During the escape from <mem> |
| 205 | * state we need to put the escaping char back, so we dont miss it. |
| 206 | */ |
| 207 | . { unput(*yytext); BEGIN(INITIAL); } |
| 208 | /* |
| 209 | * We destroy the scanner after reaching EOF, |
| 210 | * but anyway just to be sure get back to INIT state. |
| 211 | */ |
| 212 | <<EOF>> { BEGIN(INITIAL); } |
| 213 | } |
| 214 | |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 215 | cpu-cycles|cycles { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_CPU_CYCLES); } |
| 216 | stalled-cycles-frontend|idle-cycles-frontend { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_STALLED_CYCLES_FRONTEND); } |
| 217 | stalled-cycles-backend|idle-cycles-backend { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_STALLED_CYCLES_BACKEND); } |
| 218 | instructions { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_INSTRUCTIONS); } |
| 219 | cache-references { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_CACHE_REFERENCES); } |
| 220 | cache-misses { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_CACHE_MISSES); } |
| 221 | branch-instructions|branches { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_BRANCH_INSTRUCTIONS); } |
| 222 | branch-misses { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_BRANCH_MISSES); } |
| 223 | bus-cycles { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_BUS_CYCLES); } |
| 224 | ref-cycles { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_REF_CPU_CYCLES); } |
| 225 | cpu-clock { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_CPU_CLOCK); } |
| 226 | task-clock { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_TASK_CLOCK); } |
| 227 | page-faults|faults { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_PAGE_FAULTS); } |
| 228 | minor-faults { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_PAGE_FAULTS_MIN); } |
| 229 | major-faults { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_PAGE_FAULTS_MAJ); } |
| 230 | context-switches|cs { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_CONTEXT_SWITCHES); } |
| 231 | cpu-migrations|migrations { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_CPU_MIGRATIONS); } |
| 232 | alignment-faults { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_ALIGNMENT_FAULTS); } |
| 233 | emulation-faults { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_EMULATION_FAULTS); } |
Adrian Hunter | d22d1a2 | 2013-08-31 21:50:52 +0300 | [diff] [blame] | 234 | dummy { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_DUMMY); } |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 235 | |
Kan Liang | ba32a45 | 2014-10-07 11:08:51 -0400 | [diff] [blame] | 236 | /* |
| 237 | * We have to handle the kernel PMU event cycles-ct/cycles-t/mem-loads/mem-stores separately. |
| 238 | * Because the prefix cycles is mixed up with cpu-cycles. |
| 239 | * loads and stores are mixed up with cache event |
| 240 | */ |
| 241 | cycles-ct { return str(yyscanner, PE_KERNEL_PMU_EVENT); } |
| 242 | cycles-t { return str(yyscanner, PE_KERNEL_PMU_EVENT); } |
| 243 | mem-loads { return str(yyscanner, PE_KERNEL_PMU_EVENT); } |
| 244 | mem-stores { return str(yyscanner, PE_KERNEL_PMU_EVENT); } |
| 245 | |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 246 | L1-dcache|l1-d|l1d|L1-data | |
| 247 | L1-icache|l1-i|l1i|L1-instruction | |
| 248 | LLC|L2 | |
| 249 | dTLB|d-tlb|Data-TLB | |
| 250 | iTLB|i-tlb|Instruction-TLB | |
| 251 | branch|branches|bpu|btb|bpc | |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 252 | node { return str(yyscanner, PE_NAME_CACHE_TYPE); } |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 253 | |
| 254 | load|loads|read | |
| 255 | store|stores|write | |
| 256 | prefetch|prefetches | |
| 257 | speculative-read|speculative-load | |
| 258 | refs|Reference|ops|access | |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 259 | misses|miss { return str(yyscanner, PE_NAME_CACHE_OP_RESULT); } |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 260 | |
Jiri Olsa | 08d2f76 | 2012-05-21 09:12:52 +0200 | [diff] [blame] | 261 | mem: { BEGIN(mem); return PE_PREFIX_MEM; } |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 262 | r{num_raw_hex} { return raw(yyscanner); } |
| 263 | {num_dec} { return value(yyscanner, 10); } |
| 264 | {num_hex} { return value(yyscanner, 16); } |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 265 | |
Zheng Yan | ac20de6 | 2012-06-15 14:31:39 +0800 | [diff] [blame] | 266 | {modifier_event} { return str(yyscanner, PE_MODIFIER_EVENT); } |
Kan Liang | ba32a45 | 2014-10-07 11:08:51 -0400 | [diff] [blame] | 267 | {name} { return pmu_str_check(yyscanner); } |
Robert Richter | ac2ba9f | 2012-08-16 21:10:21 +0200 | [diff] [blame] | 268 | "/" { BEGIN(config); return '/'; } |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 269 | - { return '-'; } |
Robert Richter | ac2ba9f | 2012-08-16 21:10:21 +0200 | [diff] [blame] | 270 | , { BEGIN(event); return ','; } |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 271 | : { return ':'; } |
Robert Richter | ac2ba9f | 2012-08-16 21:10:21 +0200 | [diff] [blame] | 272 | "{" { BEGIN(event); return '{'; } |
Jiri Olsa | 89efb02 | 2012-08-08 12:14:14 +0200 | [diff] [blame] | 273 | "}" { return '}'; } |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 274 | = { return '='; } |
Jiri Olsa | 8c5f0a8 | 2012-07-04 00:00:39 +0200 | [diff] [blame] | 275 | \n { } |
Jiri Olsa | 8200422 | 2013-09-27 18:29:58 +0200 | [diff] [blame] | 276 | . { } |
Jiri Olsa | 08d2f76 | 2012-05-21 09:12:52 +0200 | [diff] [blame] | 277 | |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 278 | %% |
| 279 | |
Irina Tirdea | 1d037ca | 2012-09-11 01:15:03 +0300 | [diff] [blame] | 280 | int parse_events_wrap(void *scanner __maybe_unused) |
Jiri Olsa | 89812fc | 2012-03-15 20:09:15 +0100 | [diff] [blame] | 281 | { |
| 282 | return 1; |
| 283 | } |