Lines Matching refs:evsel
83 struct perf_evsel *evsel; in test__event_update() local
89 evsel = perf_evlist__first(evlist); in test__event_update()
92 !perf_evsel__alloc_id(evsel, 1, 1)); in test__event_update()
94 perf_evlist__id_add(evlist, evsel, 0, 0, 123); in test__event_update()
96 evsel->unit = strdup("KRAVA"); in test__event_update()
99 !perf_event__synthesize_event_update_unit(NULL, evsel, process_event_unit)); in test__event_update()
101 evsel->scale = 0.123; in test__event_update()
104 !perf_event__synthesize_event_update_scale(NULL, evsel, process_event_scale)); in test__event_update()
106 tmp.name = perf_evsel__name(evsel); in test__event_update()
109 !perf_event__synthesize_event_update_name(&tmp.tool, evsel, process_event_name)); in test__event_update()
111 evsel->own_cpus = cpu_map__new("1,2,3"); in test__event_update()
114 !perf_event__synthesize_event_update_cpus(&tmp.tool, evsel, process_event_cpus)); in test__event_update()
116 cpu_map__put(evsel->own_cpus); in test__event_update()