]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/blob - drivers/misc/tegra-profiler/eh_unwind.h
1f8b7becac7e70ee0837c705003339b18c018a55
[sojka/nv-tegra/linux-3.10.git] / drivers / misc / tegra-profiler / eh_unwind.h
1 /*
2  * drivers/misc/tegra-profiler/eh_unwind.h
3  *
4  * Copyright (c) 2014, NVIDIA CORPORATION.  All rights reserved.
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms and conditions of the GNU General Public License,
8  * version 2, as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13  * more details.
14  *
15  */
16
17 #ifndef __QUADD_EH_UNWIND_H__
18 #define __QUADD_EH_UNWIND_H__
19
20 struct pt_regs;
21 struct quadd_callchain;
22 struct quadd_ctx;
23 struct quadd_extables;
24 struct task_struct;
25
26 unsigned int
27 quadd_get_user_callchain_ut(struct pt_regs *regs,
28                             struct quadd_callchain *cc,
29                             struct task_struct *task);
30
31 int quadd_unwind_init(void);
32 void quadd_unwind_deinit(void);
33
34 int quadd_unwind_start(struct task_struct *task);
35 void quadd_unwind_stop(void);
36
37 int quadd_unwind_set_extab(struct quadd_extables *extabs);
38
39 #endif  /* __QUADD_EH_UNWIND_H__ */