# proc_pid_stack - kernel stack - man(5) - [phpMan]

[_proc_pid_stack_(5)](https://www.chedong.com/phpMan.php/man/procpidstack/5/markdown)                        File Formats Manual                       [_proc_pid_stack_(5)](https://www.chedong.com/phpMan.php/man/procpidstack/5/markdown)

## NAME
       /proc/pid/stack - kernel stack

## DESCRIPTION
       _/proc/_pid_/stack_ (since Linux 2.6.29)
              This  file  provides  a  symbolic trace of the function calls in this process's kernel
              stack.  This file is provided only if the kernel was built with the  **CONFIG_STACKTRACE**
              configuration option.

              Permission  to  access  this  file is governed by a ptrace access mode **PTRACE_MODE_AT‐**
              **TACH_FSCREDS **check; see [**ptrace**(2)](https://www.chedong.com/phpMan.php/man/ptrace/2/markdown).

## SEE ALSO
       [**proc**(5)](https://www.chedong.com/phpMan.php/man/proc/5/markdown)

Linux man-pages 6.7                          2023-08-15                            [_proc_pid_stack_(5)](https://www.chedong.com/phpMan.php/man/procpidstack/5/markdown)
