Lines Matching refs:evsel
89 struct evsel *evsel; in test__event_update() local
95 evsel = evlist__first(evlist); in test__event_update()
98 !perf_evsel__alloc_id(&evsel->core, 1, 1)); in test__event_update()
100 perf_evlist__id_add(&evlist->core, &evsel->core, 0, 0, 123); in test__event_update()
102 evsel->unit = strdup("KRAVA"); in test__event_update()
105 !perf_event__synthesize_event_update_unit(NULL, evsel, process_event_unit)); in test__event_update()
107 evsel->scale = 0.123; in test__event_update()
110 !perf_event__synthesize_event_update_scale(NULL, evsel, process_event_scale)); in test__event_update()
112 tmp.name = perf_evsel__name(evsel); in test__event_update()
115 !perf_event__synthesize_event_update_name(&tmp.tool, evsel, process_event_name)); in test__event_update()
117 evsel->core.own_cpus = perf_cpu_map__new("1,2,3"); in test__event_update()
120 !perf_event__synthesize_event_update_cpus(&tmp.tool, evsel, process_event_cpus)); in test__event_update()
122 perf_cpu_map__put(evsel->core.own_cpus); in test__event_update()