• Home
  • Raw
  • Download

Lines Matching refs:evsel

21 	struct perf_evsel *evsel;  in test_stat_cpu()  local
38 evsel = perf_evsel__new(&attr1); in test_stat_cpu()
39 __T("failed to create evsel1", evsel); in test_stat_cpu()
41 perf_evlist__add(evlist, evsel); in test_stat_cpu()
43 evsel = perf_evsel__new(&attr2); in test_stat_cpu()
44 __T("failed to create evsel2", evsel); in test_stat_cpu()
46 perf_evlist__add(evlist, evsel); in test_stat_cpu()
53 perf_evlist__for_each_evsel(evlist, evsel) { in test_stat_cpu()
54 cpus = perf_evsel__cpus(evsel); in test_stat_cpu()
59 perf_evsel__read(evsel, cpu, 0, &counts); in test_stat_cpu()
76 struct perf_evsel *evsel; in test_stat_thread() local
95 evsel = perf_evsel__new(&attr1); in test_stat_thread()
96 __T("failed to create evsel1", evsel); in test_stat_thread()
98 perf_evlist__add(evlist, evsel); in test_stat_thread()
100 evsel = perf_evsel__new(&attr2); in test_stat_thread()
101 __T("failed to create evsel2", evsel); in test_stat_thread()
103 perf_evlist__add(evlist, evsel); in test_stat_thread()
110 perf_evlist__for_each_evsel(evlist, evsel) { in test_stat_thread()
111 perf_evsel__read(evsel, 0, 0, &counts); in test_stat_thread()
127 struct perf_evsel *evsel; in test_stat_thread_enable() local
148 evsel = perf_evsel__new(&attr1); in test_stat_thread_enable()
149 __T("failed to create evsel1", evsel); in test_stat_thread_enable()
151 perf_evlist__add(evlist, evsel); in test_stat_thread_enable()
153 evsel = perf_evsel__new(&attr2); in test_stat_thread_enable()
154 __T("failed to create evsel2", evsel); in test_stat_thread_enable()
156 perf_evlist__add(evlist, evsel); in test_stat_thread_enable()
163 perf_evlist__for_each_evsel(evlist, evsel) { in test_stat_thread_enable()
164 perf_evsel__read(evsel, 0, 0, &counts); in test_stat_thread_enable()
170 perf_evlist__for_each_evsel(evlist, evsel) { in test_stat_thread_enable()
171 perf_evsel__read(evsel, 0, 0, &counts); in test_stat_thread_enable()