aboutsummaryrefslogtreecommitdiff
path: root/btt/bt_timeline.c
diff options
context:
space:
mode:
Diffstat (limited to 'btt/bt_timeline.c')
-rw-r--r--btt/bt_timeline.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/btt/bt_timeline.c b/btt/bt_timeline.c
index 24dafc8..295e5ee 100644
--- a/btt/bt_timeline.c
+++ b/btt/bt_timeline.c
@@ -25,15 +25,15 @@
#include <time.h>
#include "globals.h"
-char bt_timeline_version[] = "2.08";
+char bt_timeline_version[] = "2.09";
char *devices, *exes, *input_name, *output_name, *seek_name, *bno_dump_name;
char *d2c_name, *q2c_name, *per_io_name, *unplug_hist_name;
char *sps_name, *aqd_name, *q2d_name, *per_io_trees;
FILE *rngs_ofp, *avgs_ofp, *xavgs_ofp, *per_io_ofp, *msgs_ofp;
int verbose, done, time_bounded, output_all_data, seek_absolute;
-int easy_parse_avgs, ignore_remaps;
-double t_astart, t_aend;
+int easy_parse_avgs, ignore_remaps, do_p_live;
+double t_astart, t_aend, last_t_seen;
unsigned long n_traces;
struct avgs_info all_avgs;
unsigned int n_devs;
@@ -62,6 +62,9 @@ int main(int argc, char *argv[])
init_dev_heads();
iostat_init();
+ if (!rstat_init())
+ return 1;
+
if (process() || output_avgs(avgs_ofp) || output_ranges(rngs_ofp))
return 1;
@@ -82,9 +85,11 @@ int main(int argc, char *argv[])
dip_cleanup();
dev_map_exit();
dip_exit();
+ rstat_exit();
pip_exit();
io_free_all();
region_exit(&all_regions);
+ p_live_exit();
clean_allocs();
return 0;