Lines Matching refs:evsel
82 struct evsel *evsel; in test__event_update() local
88 evsel = evlist__first(evlist); in test__event_update()
91 !perf_evsel__alloc_id(&evsel->core, 1, 1)); in test__event_update()
93 perf_evlist__id_add(&evlist->core, &evsel->core, 0, 0, 123); in test__event_update()
95 free((char *)evsel->unit); 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()
107 tmp.name = evsel__name(evsel); in test__event_update()
110 !perf_event__synthesize_event_update_name(&tmp.tool, evsel, process_event_name)); in test__event_update()
112 perf_cpu_map__put(evsel->core.pmu_cpus); in test__event_update()
113 evsel->core.pmu_cpus = perf_cpu_map__new("1,2,3"); in test__event_update()
116 !perf_event__synthesize_event_update_cpus(&tmp.tool, evsel, process_event_cpus)); in test__event_update()