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;
27 quadd_get_user_callchain_ut(struct pt_regs *regs,
28 struct quadd_callchain *cc,
29 struct task_struct *task);
31 int quadd_unwind_init(void);
32 void quadd_unwind_deinit(void);
34 int quadd_unwind_start(struct task_struct *task);
35 void quadd_unwind_stop(void);
37 int quadd_unwind_set_extab(struct quadd_extables *extabs);
39 #endif /* __QUADD_EH_UNWIND_H__ */