Revert "API sync babeltrace"
[lttngtop.git] / src / common.c
index d4f89f3e8970e69e5ef60cf81beebb540727f6fe..b18eafd554569fa14f26dfa9135246406884def4 100644 (file)
@@ -21,7 +21,7 @@
 #include <string.h>
 #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;
This page took 0.023261 seconds and 4 git commands to generate.