From: Alejandro Colomar Date: Tue, 15 Aug 2023 18:03:55 +0000 (+0200) Subject: proc.5, proc_profile.5: Split /proc/profile from proc(5) X-Git-Tag: man-pages-6.06~312^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f884fd03ff488ced4ca55c63db152deb865dcc30;p=thirdparty%2Fman-pages.git proc.5, proc_profile.5: Split /proc/profile from proc(5) Signed-off-by: Alejandro Colomar --- diff --git a/man5/proc.5 b/man5/proc.5 index a7906a59dd..8e0fcebc28 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -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 index 0000000000..994a4d8883 --- /dev/null +++ b/man5/proc_profile.5 @@ -0,0 +1,24 @@ +.\" 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_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)