Lines Matching refs:ev
20 struct perf_record_event_update *ev = (struct perf_record_event_update *)event; in process_event_unit() local
22 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_unit()
23 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__UNIT); in process_event_unit()
24 TEST_ASSERT_VAL("wrong unit", !strcmp(ev->unit, "KRAVA")); in process_event_unit()
33 struct perf_record_event_update *ev = (struct perf_record_event_update *)event; in process_event_scale() local
35 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_scale()
36 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__SCALE); in process_event_scale()
37 TEST_ASSERT_VAL("wrong scale", ev->scale.scale == 0.123); in process_event_scale()
52 struct perf_record_event_update *ev = (struct perf_record_event_update *)event; in process_event_name() local
54 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_name()
55 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__NAME); in process_event_name()
56 TEST_ASSERT_VAL("wrong name", !strcmp(ev->name, tmp->name)); in process_event_name()
65 struct perf_record_event_update *ev = (struct perf_record_event_update *)event; in process_event_cpus() local
68 map = cpu_map__new_data(&ev->cpus.cpus); in process_event_cpus()
70 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_cpus()
71 TEST_ASSERT_VAL("wrong type", ev->type == PERF_EVENT_UPDATE__CPUS); in process_event_cpus()