1 #ifndef _WEBPROBE_PROF_H
2 #define _WEBPROBE_PROF_H
5 * @file webprobe/webprobe_prof.h
6 * @author Anastasia Lyupa <a.lyupa@samsung.com>
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.
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.
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/>.
23 * Copyright (C) Samsung Electronics, 2015
25 * @section DESCRIPTION
26 * Profiling for webprobe
29 enum web_prof_addr_t {
34 enum web_prof_state_t {
39 int web_prof_init(void);
40 void web_prof_exit(void);
41 int web_prof_enable(void);
42 int web_prof_disable(void);
43 enum web_prof_state_t web_prof_enabled(void);
44 int web_func_inst_remove(enum web_prof_addr_t type);
45 u64 *web_prof_addr_ptr(enum web_prof_addr_t type);
46 unsigned long web_prof_addr(enum web_prof_addr_t type);
47 int web_prof_data_set(char *app_path, char *app_id);
48 struct dentry *web_prof_lib_dentry(void);
50 #endif /* _WEBPROBE_PROF_H */