xref: /kernel/linux/linux-5.10/arch/sh/include/asm/stacktrace.h (revision 8c2ecf20)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/sh/include/asm/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2009  Matt Fleming
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Based on:
68c2ecf20Sopenharmony_ci *	The x86 implementation - arch/x86/include/asm/stacktrace.h
78c2ecf20Sopenharmony_ci */
88c2ecf20Sopenharmony_ci#ifndef _ASM_SH_STACKTRACE_H
98c2ecf20Sopenharmony_ci#define _ASM_SH_STACKTRACE_H
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci/* Generic stack tracer with callbacks */
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_cistruct stacktrace_ops {
148c2ecf20Sopenharmony_ci	void (*address)(void *data, unsigned long address, int reliable);
158c2ecf20Sopenharmony_ci};
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_civoid dump_trace(struct task_struct *tsk, struct pt_regs *regs,
188c2ecf20Sopenharmony_ci		unsigned long *stack,
198c2ecf20Sopenharmony_ci		const struct stacktrace_ops *ops, void *data);
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci#endif /* _ASM_SH_STACKTRACE_H */
22

Indexes created Thu Nov 07 10:32:03 CST 2024