| 1 | /* |
| 2 | * Copyright (C) 2014 Julien Desfossez |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License Version 2 as |
| 6 | * published by the Free Software Foundation; |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | * |
| 13 | * You should have received a copy of the GNU General Public License along |
| 14 | * with this program; if not, write to the Free Software Foundation, Inc., |
| 15 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 16 | */ |
| 17 | |
| 18 | #ifndef LTTNGTOP_H |
| 19 | #define LTTNGTOP_H |
| 20 | |
| 21 | int check_requirements(struct bt_context *ctx); |
| 22 | extern int opt_textdump; |
| 23 | extern int opt_child; |
| 24 | extern int opt_begin; |
| 25 | |
| 26 | extern pthread_t display_thread; |
| 27 | extern pthread_t timer_thread; |
| 28 | void *ncurses_display(void *p); |
| 29 | void *refresh_thread(void *p); |
| 30 | void iter_trace(struct bt_context *bt_ctx); |
| 31 | |
| 32 | #endif /* LTTNGTOP_H */ |