]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
proc.5, proc_profile.5: Split /proc/profile from proc(5)
authorAlejandro Colomar <alx@kernel.org>
Tue, 15 Aug 2023 18:03:55 +0000 (20:03 +0200)
committerAlejandro Colomar <alx@kernel.org>
Tue, 15 Aug 2023 21:19:15 +0000 (23:19 +0200)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man5/proc.5
man5/proc_profile.5 [new file with mode: 0644]

index a7906a59dd32feed0ed6481865b439cf8de236c2..8e0fcebc285e65cec99fad029b59eaf2bc46eef1 100644 (file)
@@ -229,18 +229,6 @@ hierarchy.
 .\" FIXME Document /proc/sched_debug (since Linux 2.6.23)
 .\" See also /proc/[pid]/sched
 .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.
-.TP
 .I /proc/scsi
 A directory with the
 .I scsi
diff --git a/man5/proc_profile.5 b/man5/proc_profile.5
new file mode 100644 (file)
index 0000000..994a4d8
--- /dev/null
@@ -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)