Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/util/
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 …]
Dbpf-event.c326 memset((void *)event + event->header.size, 0, machine->id_hdr_size); in perf_event__synthesize_one_bpf_prog()
327 event->header.size += machine->id_hdr_size; in perf_event__synthesize_one_bpf_prog()
344 memset((void *)event + event->header.size, 0, machine->id_hdr_size); in perf_event__synthesize_one_bpf_prog()
345 event->header.size += machine->id_hdr_size; in perf_event__synthesize_one_bpf_prog()
402 memset((void *) event + event->header.size, 0, machine->id_hdr_size); in process_bpf_image()
403 event->header.size += machine->id_hdr_size; in process_bpf_image()
453 event = malloc(sizeof(event->bpf) + KSYM_NAME_LEN + machine->id_hdr_size); in perf_event__synthesize_bpf_events()
Dmachine.h45 u16 id_hdr_size; member
175 void machines__set_id_hdr_size(struct machines *machines, u16 id_hdr_size);
Djitdump.c450 idr_size = jd->machine->id_hdr_size; in jit_repipe_code_load()
559 idr_size = jd->machine->id_hdr_size; in jit_repipe_code_move()
Dmachine.c114 machine->id_hdr_size = 0; in machine__init()
494 void machines__set_id_hdr_size(struct machines *machines, u16 id_hdr_size) in machines__set_id_hdr_size() argument
499 machines->host.id_hdr_size = id_hdr_size; in machines__set_id_hdr_size()
504 machine->id_hdr_size = id_hdr_size; in machines__set_id_hdr_size()
Dsession.c143 u16 id_hdr_size = evlist__id_hdr_size(session->evlist); in perf_session__set_id_hdr_size() local
145 machines__set_id_hdr_size(&session->machines, id_hdr_size); in perf_session__set_id_hdr_size()
/linux-6.1.9/tools/perf/arch/x86/util/
Devent.c23 machine->id_hdr_size); in perf_event__synthesize_extra_kmaps()
42 machine->id_hdr_size; in perf_event__synthesize_extra_kmaps()
/linux-6.1.9/tools/perf/
Dbuiltin-inject.c1249 gs->dflt_id_hdr_size = session->machines.host.id_hdr_size; in guest_session__start()
1448 u16 id_hdr_size; in guest_session__inject_events() local
1480 id_hdr_size = gs->dflt_id_hdr_size; in guest_session__inject_events()
1484 id_hdr_size = evsel__id_hdr_size(evsel); in guest_session__inject_events()
1487 if (id_hdr_size & 7) { in guest_session__inject_events()
1488 pr_err("Bad id_hdr_size %u\n", id_hdr_size); in guest_session__inject_events()
1498 ev->header.size -= id_hdr_size; in guest_session__inject_events()
Dbuiltin-record.c1868 int id_hdr_size; in __record__read_lost_samples() local
1884 id_hdr_size = perf_event__synthesize_id_sample((void *)(lost + 1), in __record__read_lost_samples()
1886 lost->header.size = sizeof(*lost) + id_hdr_size; in __record__read_lost_samples()
2538 event = malloc(sizeof(event->comm) + machine->id_hdr_size); in __cmd_record()
2561 machine->id_hdr_size); in __cmd_record()