Lines Matching refs:evsel
82 struct perf_evsel *evsel; in test__event_update() local
88 evsel = perf_evlist__first(evlist); in test__event_update()
91 !perf_evsel__alloc_id(evsel, 1, 1)); in test__event_update()
93 perf_evlist__id_add(evlist, evsel, 0, 0, 123); in test__event_update()
95 evsel->unit = strdup("KRAVA"); in test__event_update()
98 !perf_event__synthesize_event_update_unit(NULL, evsel, process_event_unit)); in test__event_update()
100 evsel->scale = 0.123; in test__event_update()
103 !perf_event__synthesize_event_update_scale(NULL, evsel, process_event_scale)); in test__event_update()
105 tmp.name = perf_evsel__name(evsel); in test__event_update()
108 !perf_event__synthesize_event_update_name(&tmp.tool, evsel, process_event_name)); in test__event_update()
110 evsel->own_cpus = cpu_map__new("1,2,3"); in test__event_update()
113 !perf_event__synthesize_event_update_cpus(&tmp.tool, evsel, process_event_cpus)); in test__event_update()
115 cpu_map__put(evsel->own_cpus); in test__event_update()