Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dsynthetic-events.c773 static int __event__synthesize_thread(union perf_event *comm_event, in __event__synthesize_thread() argument
789 tgid = perf_event__synthesize_comm(tool, comm_event, pid, in __event__synthesize_thread()
834 if (perf_event__prepare_comm(comm_event, pid, _pid, machine, in __event__synthesize_thread()
850 if (perf_tool__process_synth_event(tool, comm_event, machine, process) != 0) in __event__synthesize_thread()
874 union perf_event *comm_event, *mmap_event, *fork_event; in perf_event__synthesize_thread_map() local
878 comm_event = malloc(sizeof(comm_event->comm) + machine->id_hdr_size); in perf_event__synthesize_thread_map()
879 if (comm_event == NULL) in perf_event__synthesize_thread_map()
898 if (__event__synthesize_thread(comm_event, mmap_event, in perf_event__synthesize_thread_map()
911 if ((int) comm_event->comm.pid != perf_thread_map__pid(threads, thread)) { in perf_event__synthesize_thread_map()
916 if ((int) comm_event->comm.pid == perf_thread_map__pid(threads, j)) { in perf_event__synthesize_thread_map()
[all …]
/linux/kernel/events/
H A Dcore.c9276 struct perf_comm_event *comm_event = data; in perf_event_comm_output() local
9279 int size = comm_event->event_id.header.size; in perf_event_comm_output()
9285 perf_event_header__init_id(&comm_event->event_id.header, &sample, event); in perf_event_comm_output()
9287 comm_event->event_id.header.size); in perf_event_comm_output()
9292 comm_event->event_id.pid = perf_event_pid(event, comm_event->task); in perf_event_comm_output()
9293 comm_event->event_id.tid = perf_event_tid(event, comm_event->task); in perf_event_comm_output()
9295 perf_output_put(&handle, comm_event->event_id); in perf_event_comm_output()
9296 __output_copy(&handle, comm_event->comm, in perf_event_comm_output()
9297 comm_event->comm_size); in perf_event_comm_output()
9303 comm_event->event_id.header.size = size; in perf_event_comm_output()
[all …]