Remove the # in the example so we can just copy/paste it to a shell
[lttngtop.git] / src / common.h
index e81256c65915efa8c4248c580db42e0e98f46748..12cb04dfed36fb44943f6aa4ad7d3716060dbcee 100644 (file)
@@ -52,4 +52,11 @@ struct perfcounter *add_perf_counter(GPtrArray *perf, GQuark quark,
 struct perfcounter *get_perf_counter(const char *name, struct processtop *proc,
                struct cputime *cpu);
 
+/* 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 */
This page took 0.022573 seconds and 4 git commands to generate.