Lines Matching refs:evsel_script
317 struct evsel_script { struct
326 static inline struct evsel_script *evsel_script(struct evsel *evsel) in evsel_script() argument
328 return (struct evsel_script *)evsel->priv; in evsel_script()
331 static struct evsel_script *evsel_script__new(struct evsel *evsel, struct perf_data *data) in evsel_script__new()
333 struct evsel_script *es = zalloc(sizeof(*es)); in evsel_script__new()
351 static void evsel_script__delete(struct evsel_script *es) in evsel_script__delete()
359 static int evsel_script__fprintf(struct evsel_script *es, FILE *fp) in evsel_script__fprintf()
2053 if (evsel_script(leader)->gnum++ == 0) in perf_sample__fprint_metric()
2060 evsel_script(evsel)->val = val; in perf_sample__fprint_metric()
2061 if (evsel_script(leader)->gnum == leader->core.nr_members) { in perf_sample__fprint_metric()
2064 evsel_script(ev2)->val, in perf_sample__fprint_metric()
2070 evsel_script(leader)->gnum = 0; in perf_sample__fprint_metric()
2125 struct evsel_script *es = evsel->priv; in process_event()
2401 static struct evsel_script *es; in process_attr()
2724 static struct evsel_script es_stdout; in perf_script__setup_per_event_dump()
2742 struct evsel_script *es = evsel->priv; in perf_script__exit_per_event_dump_stats()