Commit | Line | Data |
---|---|---|
53a80697 MD |
1 | /* |
2 | * Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca> | |
3 | * Copyright (C) 2012 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
4 | * | |
5 | * This program is free software; you can redistribute it and/or modify | |
6 | * it under the terms of the GNU General Public License, version 2 only, | |
7 | * as published by the Free Software Foundation. | |
8 | * | |
9 | * This program is distributed in the hope that it will be useful, | |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | * GNU General Public License for more details. | |
13 | * | |
14 | * You should have received a copy of the GNU General Public License along | |
15 | * with this program; if not, write to the Free Software Foundation, Inc., | |
16 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
17 | */ | |
18 | ||
19 | #ifndef _LTT_FILTER_H | |
20 | #define _LTT_FILTER_H | |
21 | ||
22 | #include <lttng/lttng.h> | |
23 | ||
24 | #include "trace-kernel.h" | |
25 | #include "trace-ust.h" | |
26 | #include "ust-ctl.h" | |
27 | ||
28 | struct lttng_filter_bytecode; | |
29 | ||
30 | int filter_ust_set(struct ltt_ust_session *usess, int domain, | |
31 | struct lttng_filter_bytecode *bytecode, char *event_name, | |
32 | char *channel_name); | |
33 | ||
34 | #endif /* _LTT_FILTER_H */ |