mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Mulyadi Santosa" <mulyadi.santosa@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Documentation: updating the explanation of "profile=" param
Date: Sat, 26 Jan 2008 21:39:20 +0700	[thread overview]
Message-ID: <f284c33d0801260639j6d41537qebee033ed7b46aa8@mail.gmail.com> (raw)

From: Mulyadi Santosa

Fixing "profile" kernel parameter:
- adding "kvm" parameter description
- a bit more verbose explanation of "schedule"/"sleep" param
- explicitly tells that CPU profiling is the default mode
  if none is mentioned.

Done against vanilla 2.6.23.13

PS: I am not subscribed to linux-kernel@vger, so please kindly Cc:
your reply to my e-mail address.

Signed-off-by: Mulyadi Santosa <mulyadi.santosa@gmail.com>
---

 Documentation/kernel-parameters.txt |   19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)


--- linux-2.6.23.13/Documentation/kernel-parameters.txt.bak	2008-01-10
00:18:17.000000000 +0700
+++ linux-2.6.23.13/Documentation/kernel-parameters.txt	2008-01-25
22:49:37.000000000 +0700
@@ -1391,12 +1391,19 @@ and is between 256 and 4096 characters.
 			Format: <bool>  (1/Y/y=enable, 0/N/n=disable)

 	profile=	[KNL] Enable kernel profiling via /proc/profile
-			Format: [schedule,]<number>
-			Param: "schedule" - profile schedule points.
-			Param: <number> - step/bucket size as a power of 2 for
-				statistical time based profiling.
-			Param: "sleep" - profile D-state sleeping (millisecs)
-
+			Format: [schedule/sleep/kvm,]<number>
+			First param is one of these (they can't be combined!):
+			Param: "schedule" - profile schedule() call.
+			Param: "sleep" - profile where a task sleeps (millisecs).
+			Param: "kvm" - profile KVM exit call.
+
+			If first param is omitted then cpu profiling mode
+			is effectively applied. In this mode, profiling is
+			done in tick handler.
+
+			Second param: <number> - step/bucket size as a power
+			of 2 for statistical time based profiling.
+	
 	processor.max_cstate=	[HW,ACPI]
 			Limit processor to maximum C-state
 			max_cstate=9 overrides any DMI blacklist limit.

                 reply	other threads:[~2008-01-26 14:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f284c33d0801260639j6d41537qebee033ed7b46aa8@mail.gmail.com \
    --to=mulyadi.santosa@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®