From 480b40ce04942ac489d83ae67f54eb4b5b6f2f80 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Tue, 7 Aug 2012 15:12:17 -0400 Subject: [PATCH 1/1] Revert "fix compat with babeltrace API change at commit 03798a93f959f6c694fe98f5647481947607c604" This reverts commit 094632060f50c0a268794c70e0650167c5c51fb8. --- src/common.c | 2 +- src/cputop.c | 4 ++-- src/iostreamtop.c | 12 ++++++------ src/lttngtop.c | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/common.c b/src/common.c index 5cc9bca..c939847 100644 --- a/src/common.c +++ b/src/common.c @@ -470,7 +470,7 @@ enum bt_cb_ret handle_statedump_process_state(struct bt_ctf_event *call_data, int64_t pid, tid; char *procname; - timestamp = bt_ctf_get_real_timestamp(call_data); + timestamp = bt_ctf_get_timestamp(call_data); if (timestamp == -1ULL) goto error; diff --git a/src/cputop.c b/src/cputop.c index 6adbacd..eb7afb3 100644 --- a/src/cputop.c +++ b/src/cputop.c @@ -54,7 +54,7 @@ enum bt_cb_ret handle_sched_switch(struct bt_ctf_event *call_data, char *prev_comm, *next_comm; int prev_tid, next_tid; - timestamp = bt_ctf_get_real_timestamp(call_data); + timestamp = bt_ctf_get_timestamp(call_data); if (timestamp == -1ULL) goto error; @@ -107,7 +107,7 @@ enum bt_cb_ret handle_sched_process_free(struct bt_ctf_event *call_data, char *comm; int tid; - timestamp = bt_ctf_get_real_timestamp(call_data); + timestamp = bt_ctf_get_timestamp(call_data); if (timestamp == -1ULL) goto error; diff --git a/src/iostreamtop.c b/src/iostreamtop.c index 30797c5..bda9c7c 100644 --- a/src/iostreamtop.c +++ b/src/iostreamtop.c @@ -266,7 +266,7 @@ enum bt_cb_ret handle_exit_syscall(struct bt_ctf_event *call_data, uint64_t ret, tid; uint64_t cpu_id; - timestamp = bt_ctf_get_real_timestamp(call_data); + timestamp = bt_ctf_get_timestamp(call_data); if (timestamp == -1ULL) goto error; @@ -310,7 +310,7 @@ enum bt_cb_ret handle_sys_write(struct bt_ctf_event *call_data, char *procname; int fd; - timestamp = bt_ctf_get_real_timestamp(call_data); + timestamp = bt_ctf_get_timestamp(call_data); if (timestamp == -1ULL) goto error; @@ -350,7 +350,7 @@ enum bt_cb_ret handle_sys_read(struct bt_ctf_event *call_data, char *procname; int fd; - timestamp = bt_ctf_get_real_timestamp(call_data); + timestamp = bt_ctf_get_timestamp(call_data); if (timestamp == -1ULL) goto error; @@ -392,7 +392,7 @@ enum bt_cb_ret handle_sys_open(struct bt_ctf_event *call_data, char *procname; char *file; - timestamp = bt_ctf_get_real_timestamp(call_data); + timestamp = bt_ctf_get_timestamp(call_data); if (timestamp == -1ULL) goto error; @@ -432,7 +432,7 @@ enum bt_cb_ret handle_sys_close(struct bt_ctf_event *call_data, char *procname; int fd; - timestamp = bt_ctf_get_real_timestamp(call_data); + timestamp = bt_ctf_get_timestamp(call_data); if (timestamp == -1ULL) goto error; @@ -470,7 +470,7 @@ enum bt_cb_ret handle_statedump_file_descriptor(struct bt_ctf_event *call_data, char *file_name; int fd; - timestamp = bt_ctf_get_real_timestamp(call_data); + timestamp = bt_ctf_get_timestamp(call_data); if (timestamp == -1ULL) goto error; diff --git a/src/lttngtop.c b/src/lttngtop.c index 521e085..2ee303a 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; -- 2.34.1