Home
last modified time | relevance | path

Searched refs:id_hdr_size (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/tools/perf/util/
Dbpf-event.c263 memset((void *)event + event->header.size, 0, machine->id_hdr_size); in perf_event__synthesize_one_bpf_prog()
264 event->header.size += machine->id_hdr_size; in perf_event__synthesize_one_bpf_prog()
281 memset((void *)event + event->header.size, 0, machine->id_hdr_size); in perf_event__synthesize_one_bpf_prog()
282 event->header.size += machine->id_hdr_size; in perf_event__synthesize_one_bpf_prog()
339 memset((void *) event + event->header.size, 0, machine->id_hdr_size); in process_bpf_image()
340 event->header.size += machine->id_hdr_size; in process_bpf_image()
393 event = malloc(sizeof(event->bpf) + KSYM_NAME_LEN + machine->id_hdr_size); in perf_event__synthesize_bpf_events()
Dsynthetic-events.c181 memset(event->comm.comm + size, 0, machine->id_hdr_size); in perf_event__prepare_comm()
184 machine->id_hdr_size); in perf_event__prepare_comm()
235 machine->id_hdr_size)); in perf_event__synthesize_namespaces()
252 machine->id_hdr_size); in perf_event__synthesize_namespaces()
266 memset(&event->fork, 0, sizeof(event->fork) + machine->id_hdr_size); in perf_event__synthesize_fork()
285 event->fork.header.size = (sizeof(event->fork) + machine->id_hdr_size); in perf_event__synthesize_fork()
522 memset(event->mmap2.filename + size, 0, machine->id_hdr_size + in perf_event__synthesize_mmap_events()
524 event->mmap2.header.size += machine->id_hdr_size; in perf_event__synthesize_mmap_events()
565 event->cgroup.header.size = event_size + path_len + machine->id_hdr_size; in perf_event__synthesize_cgroup()
575 memset(event->cgroup.path + path_len, 0, machine->id_hdr_size); in perf_event__synthesize_cgroup()
[all …]
Dmachine.h35 u16 id_hdr_size; member
163 void machines__set_id_hdr_size(struct machines *machines, u16 id_hdr_size);
Dmachine.c92 machine->id_hdr_size = 0; in machine__init()
419 void machines__set_id_hdr_size(struct machines *machines, u16 id_hdr_size) in machines__set_id_hdr_size() argument
424 machines->host.id_hdr_size = id_hdr_size; in machines__set_id_hdr_size()
429 machine->id_hdr_size = id_hdr_size; in machines__set_id_hdr_size()
Djitdump.c452 idr_size = jd->machine->id_hdr_size; in jit_repipe_code_load()
563 idr_size = jd->machine->id_hdr_size; in jit_repipe_code_move()
Dsession.c88 u16 id_hdr_size = evlist__id_hdr_size(session->evlist); in perf_session__set_id_hdr_size() local
90 machines__set_id_hdr_size(&session->machines, id_hdr_size); in perf_session__set_id_hdr_size()
/linux-6.12.1/tools/perf/arch/x86/util/
Devent.c38 args->machine->id_hdr_size; in perf_event__synthesize_extra_kmaps_cb()
78 .event = zalloc(sizeof(args.event->mmap) + machine->id_hdr_size), in perf_event__synthesize_extra_kmaps()
/linux-6.12.1/tools/perf/
Dbuiltin-inject.c1454 gs->dflt_id_hdr_size = session->machines.host.id_hdr_size; in guest_session__start()
1661 u16 id_hdr_size; in guest_session__inject_events() local
1693 id_hdr_size = gs->dflt_id_hdr_size; in guest_session__inject_events()
1697 id_hdr_size = evsel__id_hdr_size(evsel); in guest_session__inject_events()
1700 if (id_hdr_size & 7) { in guest_session__inject_events()
1701 pr_err("Bad id_hdr_size %u\n", id_hdr_size); in guest_session__inject_events()
1711 ev->header.size -= id_hdr_size; in guest_session__inject_events()
Dbuiltin-record.c1921 int id_hdr_size; in __record__save_lost_samples() local
1929 id_hdr_size = perf_event__synthesize_id_sample((void *)(lost + 1), in __record__save_lost_samples()
1931 lost->header.size = sizeof(*lost) + id_hdr_size; in __record__save_lost_samples()
2573 event = malloc(sizeof(event->comm) + machine->id_hdr_size); in __cmd_record()
2596 machine->id_hdr_size); in __cmd_record()