X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flttngtop.c;h=fa412ae6313b8fb98a54c6caecdef466e6a7ab33;hb=2e0a1190d76a53891ca22cfd6082d9b45581d83e;hp=f78a8653580e7f050e7aac2f298ced97ac0feb19;hpb=da401e9c85ea307f2837d9c80eba8636273d9232;p=lttngtop.git diff --git a/src/lttngtop.c b/src/lttngtop.c index f78a865..fa412ae 100644 --- a/src/lttngtop.c +++ b/src/lttngtop.c @@ -190,12 +190,12 @@ void update_perf_value(struct processtop *proc, struct cputime *cpu, } void extract_perf_counter_scope(const struct bt_ctf_event *event, - const struct definition *scope, + const struct bt_definition *scope, struct processtop *proc, struct cputime *cpu) { - struct definition const * const *list = NULL; - const struct definition *field; + struct bt_definition const * const *list = NULL; + const struct bt_definition *field; unsigned int count; struct perfcounter *perfcounter; GHashTableIter iter; @@ -230,7 +230,7 @@ end: void update_perf_counter(struct processtop *proc, const struct bt_ctf_event *event) { struct cputime *cpu; - const struct definition *scope; + const struct bt_definition *scope; cpu = get_cpu(get_cpu_id(event)); @@ -451,7 +451,7 @@ end_iter: */ int bt_context_add_traces_recursive(struct bt_context *ctx, const char *path, const char *format_str, - void (*packet_seek)(struct stream_pos *pos, + void (*packet_seek)(struct bt_stream_pos *pos, size_t offset, int whence)) { FTS *tree;