Lines Matching refs:bev
2239 static int __event_process_build_id(struct perf_record_header_build_id *bev,
2249 machine = perf_session__findnew_machine(session, bev->pid);
2253 cpumode = bev->header.misc & PERF_RECORD_MISC_CPUMODE_MASK;
2276 if (bev->header.misc & PERF_RECORD_MISC_BUILD_ID_SIZE)
2277 size = bev->size;
2279 build_id__init(&bid, bev->data, size);
2313 struct perf_record_header_build_id bev;
2330 bev.header = old_bev.header;
2336 bev.pid = HOST_KERNEL_ID;
2337 if (bev.header.misc == PERF_RECORD_MISC_GUEST_USER ||
2338 bev.header.misc == PERF_RECORD_MISC_GUEST_KERNEL)
2339 bev.pid = DEFAULT_GUEST_KERNEL_ID;
2341 memcpy(bev.build_id, old_bev.build_id, sizeof(bev.build_id));
2342 __event_process_build_id(&bev, filename, session);
2344 offset += bev.header.size;
2354 struct perf_record_header_build_id bev;
2362 if (readn(input, &bev, sizeof(bev)) != sizeof(bev))
2366 perf_event_header__bswap(&bev.header);
2368 len = bev.header.size - sizeof(bev);
2390 __event_process_build_id(&bev, filename, session);
2392 offset += bev.header.size;