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->unit, "KRAVA"));
33 struct perf_record_event_update *ev = (struct perf_record_event_update *)event;
35 TEST_ASSERT_VAL("wrong id", ev->id == 123);
36 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__SCALE);
37 TEST_ASSERT_VAL("wrong scale", ev->scale.scale == 0.123);
52 struct perf_record_event_update *ev = (struct perf_record_event_update *)event;
54 TEST_ASSERT_VAL("wrong id", ev->id == 123);
55 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__NAME);
56 TEST_ASSERT_VAL("wrong name", !strcmp(ev->name, tmp->name));
65 struct perf_record_event_update *ev = (struct perf_record_event_update *)event;
68 map = cpu_map__new_data(&ev->cpus.cpus);
70 TEST_ASSERT_VAL("wrong id", ev->id == 123);
71 TEST_ASSERT_VAL("wrong type", ev->type == PERF_EVENT_UPDATE__CPUS);