2 * drivers/misc/tegra-profiler/eh_unwind.h
4 * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
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.
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
17 #ifndef __QUADD_EH_UNWIND_H__
18 #define __QUADD_EH_UNWIND_H__
21 struct quadd_callchain;
23 struct quadd_extables;
25 struct quadd_extabs_mmap;
28 quadd_get_user_callchain_ut(struct pt_regs *regs,
29 struct quadd_callchain *cc,
30 struct task_struct *task);
32 int quadd_unwind_init(void);
33 void quadd_unwind_deinit(void);
35 int quadd_unwind_start(struct task_struct *task);
36 void quadd_unwind_stop(void);
38 int quadd_unwind_set_extab(struct quadd_extables *extabs,
39 struct quadd_extabs_mmap *mmap);
40 void quadd_unwind_delete_mmap(struct quadd_extabs_mmap *mmap);
43 quadd_is_ex_entry_exist(struct pt_regs *regs,
45 struct task_struct *task);
47 #endif /* __QUADD_EH_UNWIND_H__ */