Lines Matching refs:bev
1224 static int __event_process_build_id(struct build_id_event *bev, in __event_process_build_id() argument
1234 machine = perf_session__findnew_machine(session, bev->pid); in __event_process_build_id()
1238 cpumode = bev->header.misc & PERF_RECORD_MISC_CPUMODE_MASK; in __event_process_build_id()
1259 dso__set_build_id(dso, &bev->build_id); in __event_process_build_id()
1293 struct build_id_event bev; in perf_header__read_build_ids_abi_quirk() local
1310 bev.header = old_bev.header; in perf_header__read_build_ids_abi_quirk()
1316 bev.pid = HOST_KERNEL_ID; in perf_header__read_build_ids_abi_quirk()
1317 if (bev.header.misc == PERF_RECORD_MISC_GUEST_USER || in perf_header__read_build_ids_abi_quirk()
1318 bev.header.misc == PERF_RECORD_MISC_GUEST_KERNEL) in perf_header__read_build_ids_abi_quirk()
1319 bev.pid = DEFAULT_GUEST_KERNEL_ID; in perf_header__read_build_ids_abi_quirk()
1321 memcpy(bev.build_id, old_bev.build_id, sizeof(bev.build_id)); in perf_header__read_build_ids_abi_quirk()
1322 __event_process_build_id(&bev, filename, session); in perf_header__read_build_ids_abi_quirk()
1324 offset += bev.header.size; in perf_header__read_build_ids_abi_quirk()
1334 struct build_id_event bev; in perf_header__read_build_ids() local
1342 if (readn(input, &bev, sizeof(bev)) != sizeof(bev)) in perf_header__read_build_ids()
1346 perf_event_header__bswap(&bev.header); in perf_header__read_build_ids()
1348 len = bev.header.size - sizeof(bev); in perf_header__read_build_ids()
1370 __event_process_build_id(&bev, filename, session); in perf_header__read_build_ids()
1372 offset += bev.header.size; in perf_header__read_build_ids()