Searched refs:comm_event (Results 1 – 1 of 1) sorted by relevance
/tools/perf/util/ |
D | synthetic-events.c | 745 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 …]
|