aboutsummaryrefslogtreecommitdiffstats
path: root/man5/proc_profile.5
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-08-15 20:03:55 +0200
committerAlejandro Colomar <alx@kernel.org>2023-08-15 23:19:15 +0200
commitf884fd03ff488ced4ca55c63db152deb865dcc30 (patch)
treec9e3f2ad1cd024f9f4b7d1b4f2f8faba85e3251a /man5/proc_profile.5
parentb41a396142cfcc51abc3d868dec71627406c9cf0 (diff)
downloadman-pages-f884fd03ff488ced4ca55c63db152deb865dcc30.tar.gz
proc.5, proc_profile.5: Split /proc/profile from proc(5)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man5/proc_profile.5')
-rw-r--r--man5/proc_profile.524
1 files changed, 24 insertions, 0 deletions
diff --git a/man5/proc_profile.5 b/man5/proc_profile.5
new file mode 100644
index 0000000000..994a4d8883
--- /dev/null
+++ b/man5/proc_profile.5
@@ -0,0 +1,24 @@
+.\" Copyright (C) 1994, 1995, Daniel Quinlan <quinlan@yggdrasil.com>
+.\" Copyright (C) 2002-2008, 2017, Michael Kerrisk <mtk.manpages@gmail.com>
+.\" Copyright (C) 2023, Alejandro Colomar <alx@kernel.org>
+.\"
+.\" SPDX-License-Identifier: GPL-3.0-or-later
+.\"
+.TH proc_profile 5 (date) "Linux man-pages (unreleased)"
+.SH NAME
+/proc/profile \- kernel profiling
+.SH DESCRIPTION
+.TP
+.IR /proc/profile " (since Linux 2.4)"
+This file is present only if the kernel was booted with the
+.I profile=1
+command-line option.
+It exposes kernel profiling information in a binary format for use by
+.BR readprofile (1).
+Writing (e.g., an empty string) to this file resets the profiling counters;
+on some architectures,
+writing a binary integer "profiling multiplier" of size
+.I sizeof(int)
+sets the profiling interrupt frequency.
+.SH SEE ALSO
+.BR proc (5)