Home
last modified time | relevance | path

Searched refs:comm_event (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/tools/perf/util/
Dsynthetic-events.c713 static int __event__synthesize_thread(union perf_event *comm_event, in __event__synthesize_thread() argument
728 tgid = perf_event__synthesize_comm(tool, comm_event, pid, in __event__synthesize_thread()
770 if (perf_event__prepare_comm(comm_event, pid, _pid, machine, in __event__synthesize_thread()
785 if (perf_tool__process_synth_event(tool, comm_event, machine, process) != 0) in __event__synthesize_thread()
811 union perf_event *comm_event, *mmap_event, *fork_event; in perf_event__synthesize_thread_map() local
815 comm_event = malloc(sizeof(comm_event->comm) + machine->id_hdr_size); in perf_event__synthesize_thread_map()
816 if (comm_event == NULL) in perf_event__synthesize_thread_map()
835 if (__event__synthesize_thread(comm_event, mmap_event, in perf_event__synthesize_thread_map()
848 if ((int) comm_event->comm.pid != perf_thread_map__pid(threads, thread)) { in perf_event__synthesize_thread_map()
853 if ((int) comm_event->comm.pid == perf_thread_map__pid(threads, j)) { in perf_event__synthesize_thread_map()
[all …]
/Linux-v5.15/kernel/events/
Dcore.c7917 struct perf_comm_event *comm_event = data; in perf_event_comm_output() local
7920 int size = comm_event->event_id.header.size; in perf_event_comm_output()
7926 perf_event_header__init_id(&comm_event->event_id.header, &sample, event); in perf_event_comm_output()
7928 comm_event->event_id.header.size); in perf_event_comm_output()
7933 comm_event->event_id.pid = perf_event_pid(event, comm_event->task); in perf_event_comm_output()
7934 comm_event->event_id.tid = perf_event_tid(event, comm_event->task); in perf_event_comm_output()
7936 perf_output_put(&handle, comm_event->event_id); in perf_event_comm_output()
7937 __output_copy(&handle, comm_event->comm, in perf_event_comm_output()
7938 comm_event->comm_size); in perf_event_comm_output()
7944 comm_event->event_id.header.size = size; in perf_event_comm_output()
[all …]