Lines Matching refs:evsel
12 typedef void (*setup_probe_fn_t)(struct evsel *evsel);
17 struct evsel *evsel; in perf_do_probe_api() local
29 evsel = evlist__first(evlist); in perf_do_probe_api()
32 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu, -1, flags); in perf_do_probe_api()
44 fn(evsel); in perf_do_probe_api()
46 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu, -1, flags); in perf_do_probe_api()
81 static void perf_probe_sample_identifier(struct evsel *evsel) in perf_probe_sample_identifier() argument
83 evsel->core.attr.sample_type |= PERF_SAMPLE_IDENTIFIER; in perf_probe_sample_identifier()
86 static void perf_probe_comm_exec(struct evsel *evsel) in perf_probe_comm_exec() argument
88 evsel->core.attr.comm_exec = 1; in perf_probe_comm_exec()
91 static void perf_probe_context_switch(struct evsel *evsel) in perf_probe_context_switch() argument
93 evsel->core.attr.context_switch = 1; in perf_probe_context_switch()
96 static void perf_probe_text_poke(struct evsel *evsel) in perf_probe_text_poke() argument
98 evsel->core.attr.text_poke = 1; in perf_probe_text_poke()
101 static void perf_probe_build_id(struct evsel *evsel) in perf_probe_build_id() argument
103 evsel->core.attr.build_id = 1; in perf_probe_build_id()
106 static void perf_probe_cgroup(struct evsel *evsel) in perf_probe_cgroup() argument
108 evsel->core.attr.cgroup = 1; in perf_probe_cgroup()