Commit | Line | Data |
---|---|---|
1fc22eb4 | 1 | /* |
aa15ac1c | 2 | * Copyright (C) 2011-2012 Julien Desfossez |
1fc22eb4 JD |
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 | * | |
71bd7ce1 AM |
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. | |
1fc22eb4 JD |
16 | */ |
17 | ||
18 | #ifndef _LTTNGTOP_H | |
19 | #define _LTTNGTOP_H | |
20 | ||
21 | #include <babeltrace/babeltrace.h> | |
22 | #include <babeltrace/ctf/callbacks.h> | |
23 | #include <inttypes.h> | |
24 | #include <glib.h> | |
25 | ||
4adc8274 | 26 | enum bt_cb_ret handle_sched_switch(struct bt_ctf_event *hook_data, |
1fc22eb4 JD |
27 | void *call_data); |
28 | ||
4adc8274 | 29 | enum bt_cb_ret handle_sched_process_free(struct bt_ctf_event *call_data, |
1fc22eb4 | 30 | void *private_data); |
6e11e0d0 JD |
31 | enum bt_cb_ret handle_sched_process_fork(struct bt_ctf_event *call_data, |
32 | void *private_data); | |
1fc22eb4 JD |
33 | |
34 | #endif /* _LTTNGTOP_H */ |