Fix typo in pid_check
[lttngtop.git] / src / lttngtop.c
index 521e085ebd6dbd8996072de9a20cc907aa54089a..f78a8653580e7f050e7aac2f298ced97ac0feb19 100644 (file)
@@ -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) {
This page took 0.023139 seconds and 4 git commands to generate.