comm_event 7147 kernel/events/core.c struct perf_comm_event *comm_event = data; comm_event 7150 kernel/events/core.c int size = comm_event->event_id.header.size; comm_event 7156 kernel/events/core.c perf_event_header__init_id(&comm_event->event_id.header, &sample, event); comm_event 7158 kernel/events/core.c comm_event->event_id.header.size); comm_event 7163 kernel/events/core.c comm_event->event_id.pid = perf_event_pid(event, comm_event->task); comm_event 7164 kernel/events/core.c comm_event->event_id.tid = perf_event_tid(event, comm_event->task); comm_event 7166 kernel/events/core.c perf_output_put(&handle, comm_event->event_id); comm_event 7167 kernel/events/core.c __output_copy(&handle, comm_event->comm, comm_event 7168 kernel/events/core.c comm_event->comm_size); comm_event 7174 kernel/events/core.c comm_event->event_id.header.size = size; comm_event 7177 kernel/events/core.c static void perf_event_comm_event(struct perf_comm_event *comm_event) comm_event 7183 kernel/events/core.c strlcpy(comm, comm_event->task->comm, sizeof(comm)); comm_event 7186 kernel/events/core.c comm_event->comm = comm; comm_event 7187 kernel/events/core.c comm_event->comm_size = size; comm_event 7189 kernel/events/core.c comm_event->event_id.header.size = sizeof(comm_event->event_id) + size; comm_event 7192 kernel/events/core.c comm_event, comm_event 7198 kernel/events/core.c struct perf_comm_event comm_event; comm_event 7203 kernel/events/core.c comm_event = (struct perf_comm_event){ comm_event 7218 kernel/events/core.c perf_event_comm_event(&comm_event); comm_event 469 tools/perf/util/synthetic-events.c static int __event__synthesize_thread(union perf_event *comm_event, comm_event 484 tools/perf/util/synthetic-events.c tgid = perf_event__synthesize_comm(tool, comm_event, pid, comm_event 527 tools/perf/util/synthetic-events.c if (perf_event__prepare_comm(comm_event, _pid, machine, comm_event 542 tools/perf/util/synthetic-events.c if (perf_tool__process_synth_event(tool, comm_event, machine, process) != 0) comm_event 565 tools/perf/util/synthetic-events.c union perf_event *comm_event, *mmap_event, *fork_event; comm_event 569 tools/perf/util/synthetic-events.c comm_event = malloc(sizeof(comm_event->comm) + machine->id_hdr_size); comm_event 570 tools/perf/util/synthetic-events.c if (comm_event == NULL) comm_event 589 tools/perf/util/synthetic-events.c if (__event__synthesize_thread(comm_event, mmap_event, comm_event 602 tools/perf/util/synthetic-events.c if ((int) comm_event->comm.pid != perf_thread_map__pid(threads, thread)) { comm_event 607 tools/perf/util/synthetic-events.c if ((int) comm_event->comm.pid == perf_thread_map__pid(threads, j)) { comm_event 615 tools/perf/util/synthetic-events.c __event__synthesize_thread(comm_event, mmap_event, comm_event 617 tools/perf/util/synthetic-events.c comm_event->comm.pid, 0, comm_event 631 tools/perf/util/synthetic-events.c free(comm_event); comm_event 644 tools/perf/util/synthetic-events.c union perf_event *comm_event, *mmap_event, *fork_event; comm_event 651 tools/perf/util/synthetic-events.c comm_event = malloc(sizeof(comm_event->comm) + machine->id_hdr_size); comm_event 652 tools/perf/util/synthetic-events.c if (comm_event == NULL) comm_event 681 tools/perf/util/synthetic-events.c __event__synthesize_thread(comm_event, mmap_event, fork_event, comm_event 693 tools/perf/util/synthetic-events.c free(comm_event);