X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fcommon.c;h=0a38bf36423769d069eaed4accf28b47fce4e678;hp=9f89391b612af6a485fcc6a1167fcf63527dcf99;hb=3160c7a916d5c865915f212b37a842723e646782;hpb=863dc4851aa3a0d7d7673353235cea0442ebbd1d diff --git a/src/common.c b/src/common.c index 9f89391..0a38bf3 100644 --- a/src/common.c +++ b/src/common.c @@ -86,7 +86,7 @@ uint64_t get_context_ppid(const struct bt_ctf_event *event) uint64_t get_context_vtid(const struct bt_ctf_event *event) { - const struct definition *scope; + const struct bt_definition *scope; uint64_t vtid; scope = bt_ctf_get_top_level_scope(event, BT_STREAM_EVENT_CONTEXT); @@ -101,7 +101,7 @@ uint64_t get_context_vtid(const struct bt_ctf_event *event) uint64_t get_context_vpid(const struct bt_ctf_event *event) { - const struct definition *scope; + const struct bt_definition *scope; uint64_t vpid; scope = bt_ctf_get_top_level_scope(event, BT_STREAM_EVENT_CONTEXT); @@ -116,7 +116,7 @@ uint64_t get_context_vpid(const struct bt_ctf_event *event) uint64_t get_context_vppid(const struct bt_ctf_event *event) { - const struct definition *scope; + const struct bt_definition *scope; uint64_t vppid; scope = bt_ctf_get_top_level_scope(event, BT_STREAM_EVENT_CONTEXT); @@ -147,7 +147,7 @@ char *get_context_comm(const struct bt_ctf_event *event) char *get_context_hostname(const struct bt_ctf_event *event) { - const struct definition *scope; + const struct bt_definition *scope; char *hostname; scope = bt_ctf_get_top_level_scope(event, BT_STREAM_EVENT_CONTEXT);