Home
last modified time | relevance | path

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

/linux-6.6.21/tools/perf/util/
Dsynthetic-events.c745 static int __event__synthesize_thread(union perf_event *comm_event, in __event__synthesize_thread() argument
761 tgid = perf_event__synthesize_comm(tool, comm_event, pid, in __event__synthesize_thread()
803 if (perf_event__prepare_comm(comm_event, pid, _pid, machine, in __event__synthesize_thread()
819 if (perf_tool__process_synth_event(tool, comm_event, machine, process) != 0) in __event__synthesize_thread()
845 union perf_event *comm_event, *mmap_event, *fork_event; in perf_event__synthesize_thread_map() local
849 comm_event = malloc(sizeof(comm_event->comm) + machine->id_hdr_size); in perf_event__synthesize_thread_map()
850 if (comm_event == NULL) in perf_event__synthesize_thread_map()
869 if (__event__synthesize_thread(comm_event, mmap_event, in perf_event__synthesize_thread_map()
882 if ((int) comm_event->comm.pid != perf_thread_map__pid(threads, thread)) { in perf_event__synthesize_thread_map()
887 if ((int) comm_event->comm.pid == perf_thread_map__pid(threads, j)) { in perf_event__synthesize_thread_map()
[all …]
/linux-6.6.21/kernel/events/
Dcore.c8277 struct perf_comm_event *comm_event = data; in perf_event_comm_output() local
8280 int size = comm_event->event_id.header.size; in perf_event_comm_output()
8286 perf_event_header__init_id(&comm_event->event_id.header, &sample, event); in perf_event_comm_output()
8288 comm_event->event_id.header.size); in perf_event_comm_output()
8293 comm_event->event_id.pid = perf_event_pid(event, comm_event->task); in perf_event_comm_output()
8294 comm_event->event_id.tid = perf_event_tid(event, comm_event->task); in perf_event_comm_output()
8296 perf_output_put(&handle, comm_event->event_id); in perf_event_comm_output()
8297 __output_copy(&handle, comm_event->comm, in perf_event_comm_output()
8298 comm_event->comm_size); in perf_event_comm_output()
8304 comm_event->event_id.header.size = size; in perf_event_comm_output()
[all …]