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->data, "KRAVA")); in process_event_unit()
33 struct perf_record_event_update *ev = (struct perf_record_event_update *)event; in process_event_scale() local
36 ev_data = (struct perf_record_event_update_scale *)ev->data; in process_event_scale()
38 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_scale()
39 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__SCALE); in process_event_scale()
55 struct perf_record_event_update *ev = (struct perf_record_event_update *)event; in process_event_name() local
57 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_name()
58 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__NAME); in process_event_name()
59 TEST_ASSERT_VAL("wrong name", !strcmp(ev->data, tmp->name)); in process_event_name()
68 struct perf_record_event_update *ev = (struct perf_record_event_update *)event; in process_event_cpus() local
72 ev_data = (struct perf_record_event_update_cpus *) ev->data; in process_event_cpus()
76 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_cpus()
77 TEST_ASSERT_VAL("wrong type", ev->type == PERF_EVENT_UPDATE__CPUS); in process_event_cpus()