Rework webprobe module
[kernel/swap-modules.git] / webprobe / webprobe.h
1 #ifndef _WEBPROBE_H
2 #define _WEBPROBE_H
3
4 /**
5  * @file webprobe/webprobe_prof.h
6  * @author Anastasia Lyupa <a.lyupa@samsung.com>
7  *
8  * @section LICENSE
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, see <http://www.gnu.org/licenses/>.
21  *
22  * @section COPYRIGHT
23  * Copyright (C) Samsung Electronics, 2015
24  *
25  * @section DESCRIPTION
26  * Profiling for webprobe
27  */
28
29 enum web_prof_addr_t {
30         INSPSERVER_START = 1,
31         TICK_PROBE
32 };
33
34 int web_prof_enable(void);
35 int web_prof_disable(void);
36 bool web_prof_enabled(void);
37 u64 *web_prof_addr_ptr(enum web_prof_addr_t type);
38 int web_prof_data_set(char *app_path, char *app_id);
39
40 #endif /* _WEBPROBE_H */