X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fcommon.h;h=12cb04dfed36fb44943f6aa4ad7d3716060dbcee;hp=8be30bbb1951afe6e0fefd52fcf80b6a4cc4c845;hb=bc02a7aa917596e98027f6b44f9e3f145e369161;hpb=d67167cde319ac9d257f5b59b5a4664e558f4cb4 diff --git a/src/common.h b/src/common.h index 8be30bb..12cb04d 100644 --- a/src/common.h +++ b/src/common.h @@ -54,5 +54,9 @@ struct perfcounter *get_perf_counter(const char *name, struct processtop *proc, /* common field access functions */ uint64_t get_cpu_id(struct bt_ctf_event *event); +uint64_t get_context_tid(struct bt_ctf_event *event); +uint64_t get_context_pid(struct bt_ctf_event *event); +uint64_t get_context_ppid(struct bt_ctf_event *event); +char *get_context_comm(struct bt_ctf_event *event); #endif /* _COMMON_H */