Lines Matching defs:ev
20 struct perf_record_event_update *ev = (struct perf_record_event_update *)event;
22 TEST_ASSERT_VAL("wrong id", ev->id == 123);
23 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__UNIT);
24 TEST_ASSERT_VAL("wrong unit", !strcmp(ev->data, "KRAVA"));
33 struct perf_record_event_update *ev = (struct perf_record_event_update *)event;
36 ev_data = (struct perf_record_event_update_scale *)ev->data;
38 TEST_ASSERT_VAL("wrong id", ev->id == 123);
39 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__SCALE);
55 struct perf_record_event_update *ev = (struct perf_record_event_update *)event;
57 TEST_ASSERT_VAL("wrong id", ev->id == 123);
58 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__NAME);
59 TEST_ASSERT_VAL("wrong name", !strcmp(ev->data, tmp->name));
68 struct perf_record_event_update *ev = (struct perf_record_event_update *)event;
72 ev_data = (struct perf_record_event_update_cpus *) ev->data;
76 TEST_ASSERT_VAL("wrong id", ev->id == 123);
77 TEST_ASSERT_VAL("wrong type", ev->type == PERF_EVENT_UPDATE__CPUS);