Lines Matching refs:evsel_script
327 struct evsel_script { struct
336 static inline struct evsel_script *evsel_script(struct evsel *evsel) in evsel_script() argument
338 return (struct evsel_script *)evsel->priv; in evsel_script()
341 static struct evsel_script *evsel_script__new(struct evsel *evsel, struct perf_data *data) in evsel_script__new()
343 struct evsel_script *es = zalloc(sizeof(*es)); in evsel_script__new()
361 static void evsel_script__delete(struct evsel_script *es) in evsel_script__delete()
369 static int evsel_script__fprintf(struct evsel_script *es, FILE *fp) in evsel_script__fprintf()
2079 if (evsel_script(leader)->gnum++ == 0) in perf_sample__fprint_metric()
2082 evsel_script(evsel)->val = val; in perf_sample__fprint_metric()
2083 if (evsel_script(leader)->gnum == leader->core.nr_members) { in perf_sample__fprint_metric()
2086 evsel_script(ev2)->val, in perf_sample__fprint_metric()
2091 evsel_script(leader)->gnum = 0; in perf_sample__fprint_metric()
2146 struct evsel_script *es = evsel->priv; in process_event()
2433 static struct evsel_script es_stdout;
2781 struct evsel_script *es = evsel->priv; in perf_script__exit_per_event_dump_stats()