X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fcommon.h;h=8be30bbb1951afe6e0fefd52fcf80b6a4cc4c845;hp=e81256c65915efa8c4248c580db42e0e98f46748;hb=d67167cde319ac9d257f5b59b5a4664e558f4cb4;hpb=14a97415ba61ac79cec3d315a8b31feae48cc7a5;ds=sidebyside diff --git a/src/common.h b/src/common.h index e81256c..8be30bb 100644 --- a/src/common.h +++ b/src/common.h @@ -52,4 +52,7 @@ 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); + #endif /* _COMMON_H */