]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - tools/perf/util/event.h
perf record: Synthesize COMM event for a command line workload
[linux.git] / tools / perf / util / event.h
index f729df5e25e634607f6b4c2f2cb4cc4e1ec933a3..be5cbc7be889cd66fcdd3fe4365e2b994d9e1442 100644 (file)
@@ -478,6 +478,11 @@ int perf_event__synthesize_sample(union perf_event *event, u64 type,
                                  const struct perf_sample *sample,
                                  bool swapped);
 
+pid_t perf_event__synthesize_comm(struct perf_tool *tool,
+                                 union perf_event *event, pid_t pid,
+                                 perf_event__handler_t process,
+                                 struct machine *machine);
+
 int perf_event__synthesize_mmap_events(struct perf_tool *tool,
                                       union perf_event *event,
                                       pid_t pid, pid_t tgid,