Searched refs:parse_state (Results 1 – 4 of 4) sorted by relevance
/tools/perf/util/ |
D | parse-events.y | 20 void parse_events_error(YYLTYPE *loc, void *parse_state, void *scanner, char const *msg); 36 struct parse_events_state *parse_state) in inc_group_count() argument 40 parse_state->nr_groups++; in inc_group_count() 121 struct parse_events_state *parse_state = _parse_state; variable 123 parse_events_update_lists($1, &parse_state->list); 231 struct parse_events_state *parse_state = _parse_state; variable 232 struct parse_events_error *error = parse_state->error; 338 struct parse_events_state *parse_state = _parse_state; variable 339 struct parse_events_error *error = parse_state->error; 343 ABORT_ON(parse_events_add_cache(list, &parse_state->idx, $1, $3, $5, error, $6)); [all …]
|
D | parse-events.h | 150 int parse_events_load_bpf(struct parse_events_state *parse_state, 157 int parse_events_load_bpf_obj(struct parse_events_state *parse_state, 161 int parse_events_add_numeric(struct parse_events_state *parse_state, 166 int parse_events_add_tool(struct parse_events_state *parse_state, 175 int parse_events_add_pmu(struct parse_events_state *parse_state, 181 int parse_events_multi_pmu_add(struct parse_events_state *parse_state, 191 struct parse_events_state *parse_state); 194 void parse_events_evlist_error(struct parse_events_state *parse_state,
|
D | parse-events.c | 45 int parse_events_parse(void *parse_state, void *scanner); 630 struct parse_events_state *parse_state; member 640 struct parse_events_state *parse_state = param->parse_state; in add_bpf_event() local 657 err = parse_events_add_tracepoint(&new_evsels, &parse_state->idx, group, in add_bpf_event() 658 event, parse_state->error, in add_bpf_event() 683 int parse_events_load_bpf_obj(struct parse_events_state *parse_state, in parse_events_load_bpf_obj() argument 690 struct __add_bpf_event_param param = {parse_state, list, head_config}; in parse_events_load_bpf_obj() 731 parse_state->error->help = strdup("(add -v to see detail)"); in parse_events_load_bpf_obj() 732 parse_state->error->str = strdup(errbuf); in parse_events_load_bpf_obj() 737 parse_events_config_bpf(struct parse_events_state *parse_state, in parse_events_config_bpf() argument [all …]
|
/tools/perf/tests/ |
D | bpf.c | 128 struct parse_events_state parse_state; in do_test() local 132 bzero(&parse_state, sizeof(parse_state)); in do_test() 133 parse_state.error = &parse_error; in do_test() 134 INIT_LIST_HEAD(&parse_state.list); in do_test() 136 err = parse_events_load_bpf_obj(&parse_state, &parse_state.list, obj, NULL); in do_test() 137 if (err || list_empty(&parse_state.list)) { in do_test() 159 perf_evlist__splice_list_tail(evlist, &parse_state.list); in do_test() 160 evlist->nr_groups = parse_state.nr_groups; in do_test()
|