Searched refs:comm_event (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/perf/util/ |
D | synthetic-events.c | 743 static int __event__synthesize_thread(union perf_event *comm_event, in __event__synthesize_thread() argument 759 tgid = perf_event__synthesize_comm(tool, comm_event, pid, in __event__synthesize_thread() 801 if (perf_event__prepare_comm(comm_event, pid, _pid, machine, in __event__synthesize_thread() 817 if (perf_tool__process_synth_event(tool, comm_event, machine, process) != 0) in __event__synthesize_thread() 843 union perf_event *comm_event, *mmap_event, *fork_event; in perf_event__synthesize_thread_map() local 847 comm_event = malloc(sizeof(comm_event->comm) + machine->id_hdr_size); in perf_event__synthesize_thread_map() 848 if (comm_event == NULL) in perf_event__synthesize_thread_map() 867 if (__event__synthesize_thread(comm_event, mmap_event, in perf_event__synthesize_thread_map() 880 if ((int) comm_event->comm.pid != perf_thread_map__pid(threads, thread)) { in perf_event__synthesize_thread_map() 885 if ((int) comm_event->comm.pid == perf_thread_map__pid(threads, j)) { in perf_event__synthesize_thread_map() [all …]
|
/linux-6.1.9/kernel/events/ |
D | core.c | 8029 struct perf_comm_event *comm_event = data; in perf_event_comm_output() local 8032 int size = comm_event->event_id.header.size; in perf_event_comm_output() 8038 perf_event_header__init_id(&comm_event->event_id.header, &sample, event); in perf_event_comm_output() 8040 comm_event->event_id.header.size); in perf_event_comm_output() 8045 comm_event->event_id.pid = perf_event_pid(event, comm_event->task); in perf_event_comm_output() 8046 comm_event->event_id.tid = perf_event_tid(event, comm_event->task); in perf_event_comm_output() 8048 perf_output_put(&handle, comm_event->event_id); in perf_event_comm_output() 8049 __output_copy(&handle, comm_event->comm, in perf_event_comm_output() 8050 comm_event->comm_size); in perf_event_comm_output() 8056 comm_event->event_id.header.size = size; in perf_event_comm_output() [all …]
|