error handling on setup live tracing
[lttngtop.git] / src / common.h
index 087b8ec1c1dc61c6199ed46fd93dfd8dfda2cd22..1bde45cdc7814240fe5ac36dd334e33d7ca39068 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011 Julien Desfossez
+ * Copyright (C) 2011-2012 Julien Desfossez
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License Version 2 as
@@ -31,6 +31,8 @@ sem_t goodtodisplay, goodtoupdate, timer, pause_sem, end_trace_sem, bootstrap;
 GPtrArray *copies; /* struct lttngtop */
 GHashTable *global_perf_liszt;
 
+extern int quit;
+
 struct lttngtop *data;
 
 struct processtop *find_process_tid(struct lttngtop *ctx, int pid, char *comm);
@@ -66,4 +68,6 @@ char *get_context_comm(const struct bt_ctf_event *event);
 enum bt_cb_ret handle_statedump_process_state(struct bt_ctf_event *call_data,
                                              void *private_data);
 
+struct tm format_timestamp(uint64_t timestamp);
+
 #endif /* _COMMON_H */
This page took 0.024416 seconds and 4 git commands to generate.