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.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.cpu, -1, flags); in perf_do_probe_api()
82 static void perf_probe_sample_identifier(struct evsel *evsel) in perf_probe_sample_identifier() argument
84 evsel->core.attr.sample_type |= PERF_SAMPLE_IDENTIFIER; in perf_probe_sample_identifier()
87 static void perf_probe_comm_exec(struct evsel *evsel) in perf_probe_comm_exec() argument
89 evsel->core.attr.comm_exec = 1; in perf_probe_comm_exec()
92 static void perf_probe_context_switch(struct evsel *evsel) in perf_probe_context_switch() argument
94 evsel->core.attr.context_switch = 1; in perf_probe_context_switch()
97 static void perf_probe_text_poke(struct evsel *evsel) in perf_probe_text_poke() argument
99 evsel->core.attr.text_poke = 1; in perf_probe_text_poke()
102 static void perf_probe_build_id(struct evsel *evsel) in perf_probe_build_id() argument
104 evsel->core.attr.build_id = 1; in perf_probe_build_id()
107 static void perf_probe_cgroup(struct evsel *evsel) in perf_probe_cgroup() argument
109 evsel->core.attr.cgroup = 1; in perf_probe_cgroup()