console_codes.4, inode.7: srcfix
[man-pages.git] / man / man5 / proc_profile.5
blob994a4d8883cd3448c7540df7645918583e8e132d
1 .\" Copyright (C) 1994, 1995, Daniel Quinlan <quinlan@yggdrasil.com>
2 .\" Copyright (C) 2002-2008, 2017, Michael Kerrisk <mtk.manpages@gmail.com>
3 .\" Copyright (C) 2023, Alejandro Colomar <alx@kernel.org>
4 .\"
5 .\" SPDX-License-Identifier: GPL-3.0-or-later
6 .\"
7 .TH proc_profile 5 (date) "Linux man-pages (unreleased)"
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)