.\" Copyright (C) 1994, 1995, Daniel Quinlan .\" Copyright (C) 2002-2008, 2017, Michael Kerrisk .\" Copyright (C) 2023, Alejandro Colomar .\" .\" SPDX-License-Identifier: GPL-3.0-or-later .\" .TH proc_pid_stack 5 2023-08-15 "Linux man-pages 6.06" .SH NAME /proc/pid/stack \- kernel stack .SH DESCRIPTION .TP .IR /proc/ pid /stack " (since Linux 2.6.29)" .\" 2ec220e27f5040aec1e88901c1b6ea3d135787ad 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 .B CONFIG_STACKTRACE configuration option. .IP Permission to access this file is governed by a ptrace access mode .B PTRACE_MODE_ATTACH_FSCREDS check; see .BR ptrace (2). .SH SEE ALSO .BR proc (5)