X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Flttngtop.c;h=f78a8653580e7f050e7aac2f298ced97ac0feb19;hp=521e085ebd6dbd8996072de9a20cc907aa54089a;hb=da401e9c85ea307f2837d9c80eba8636273d9232;hpb=094632060f50c0a268794c70e0650167c5c51fb8 diff --git a/src/lttngtop.c b/src/lttngtop.c index 521e085..f78a865 100644 --- a/src/lttngtop.c +++ b/src/lttngtop.c @@ -121,7 +121,7 @@ enum bt_cb_ret check_timestamp(struct bt_ctf_event *call_data, void *private_dat { unsigned long timestamp; - timestamp = bt_ctf_get_real_timestamp(call_data); + timestamp = bt_ctf_get_timestamp(call_data); if (timestamp == -1ULL) goto error; @@ -252,7 +252,7 @@ enum bt_cb_ret fix_process_table(struct bt_ctf_event *call_data, struct processtop *parent, *child; unsigned long timestamp; - timestamp = bt_ctf_get_real_timestamp(call_data); + timestamp = bt_ctf_get_timestamp(call_data); if (timestamp == -1ULL) goto error; @@ -544,7 +544,7 @@ static int check_field_requirements(const struct bt_ctf_field_decl *const * fiel (*tid_check)++; } if (*pid_check == 0) { - if (strncmp(name, "tid", 3) == 0) + if (strncmp(name, "pid", 3) == 0) (*pid_check)++; } if (*ppid_check == 0) {