X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon.h;h=1bde45cdc7814240fe5ac36dd334e33d7ca39068;hb=33572a17ebf19098e1f1d3f1088e000e276eec60;hp=fd9a367211d799bbf7f5fac145fb06eb6bbb2b0b;hpb=aa15ac1c699ea5f76f6c26fb14ab22f725ecc293;p=lttngtop.git diff --git a/src/common.h b/src/common.h index fd9a367..1bde45c 100644 --- a/src/common.h +++ b/src/common.h @@ -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 */