X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fcommon.c;h=b18eafd554569fa14f26dfa9135246406884def4;hp=d4f89f3e8970e69e5ef60cf81beebb540727f6fe;hb=4adc827466f35fb285430634400259d8c55a5816;hpb=3439955e838cd626b61ca36e37f80a104966a8fe diff --git a/src/common.c b/src/common.c index d4f89f3..b18eafd 100644 --- a/src/common.c +++ b/src/common.c @@ -21,7 +21,7 @@ #include #include "common.h" -uint64_t get_cpu_id(const struct ctf_event_definition *event) +uint64_t get_cpu_id(const struct bt_ctf_event *event) { const struct definition *scope; uint64_t cpu_id; @@ -36,7 +36,7 @@ uint64_t get_cpu_id(const struct ctf_event_definition *event) return cpu_id; } -uint64_t get_context_tid(const struct ctf_event_definition *event) +uint64_t get_context_tid(const struct bt_ctf_event *event) { const struct definition *scope; uint64_t tid; @@ -52,7 +52,7 @@ uint64_t get_context_tid(const struct ctf_event_definition *event) return tid; } -uint64_t get_context_pid(const struct ctf_event_definition *event) +uint64_t get_context_pid(const struct bt_ctf_event *event) { const struct definition *scope; uint64_t pid; @@ -68,7 +68,7 @@ uint64_t get_context_pid(const struct ctf_event_definition *event) return pid; } -uint64_t get_context_ppid(const struct ctf_event_definition *event) +uint64_t get_context_ppid(const struct bt_ctf_event *event) { const struct definition *scope; uint64_t ppid; @@ -84,7 +84,7 @@ uint64_t get_context_ppid(const struct ctf_event_definition *event) return ppid; } -char *get_context_comm(const struct ctf_event_definition *event) +char *get_context_comm(const struct bt_ctf_event *event) { const struct definition *scope; char *comm;