Lines Matching refs:evstr
79 static struct evlist *bench__create_evlist(char *evstr) in bench__create_evlist() argument
91 ret = parse_events(evlist, evstr, &err); in bench__create_evlist()
93 parse_events_error__print(&err, evstr); in bench__create_evlist()
139 static int bench_evlist_open_close__run(char *evstr) in bench_evlist_open_close__run() argument
142 struct evlist *evlist = bench__create_evlist(evstr); in bench_evlist_open_close__run()
164 evlist = bench__create_evlist(evstr); in bench_evlist_open_close__run()
191 static char *bench__repeat_event_string(const char *evstr, int n) in bench__repeat_event_string() argument
195 int i, str_size = strlen(evstr), in bench__repeat_event_string()
205 err = strbuf_add(&buf, evstr, str_size); in bench__repeat_event_string()
228 char *evstr, errbuf[BUFSIZ]; in bench_evlist_open_close() local
254 evstr = bench__repeat_event_string(event_string, nr_events); in bench_evlist_open_close()
255 if (!evstr) { in bench_evlist_open_close()
260 err = bench_evlist_open_close__run(evstr); in bench_evlist_open_close()
262 free(evstr); in bench_evlist_open_close()