| 1 |
.\" Copyright 1994-1995, Daniel Quinlan <[email protected]> |
| 2 |
.\" Copyright 2002-2017, Michael Kerrisk <[email protected]> |
| 3 |
.\" Copyright, the authors of the Linux man-pages project |
| 4 |
.\" |
| 5 |
.\" SPDX-License-Identifier: GPL-3.0-or-later |
| 6 |
.\" |
| 7 |
.TH proc_profile 5 2026-02-08 "Linux man-pages 6.18" |
| 8 |
.SH NAME |
| 9 |
/proc/profile \- kernel profiling |
| 10 |
.SH DESCRIPTION |
| 11 |
.TP |
| 12 |
.IR /proc/profile " (since Linux 2.4)" |
| 13 |
This file is present only if the kernel was booted with the |
| 14 |
.I profile=1 |
| 15 |
command-line option. |
| 16 |
It exposes kernel profiling information in a binary format for use by |
| 17 |
.BR readprofile (1). |
| 18 |
Writing (e.g., an empty string) to this file resets the profiling counters; |
| 19 |
on some architectures, |
| 20 |
writing a binary integer "profiling multiplier" of size |
| 21 |
.I sizeof(int) |
| 22 |
sets the profiling interrupt frequency. |
| 23 |
.SH SEE ALSO |
| 24 |
.BR proc (5) |