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