lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Sat, 26 Jan 2008 21:39:20 +0700
From:	"Mulyadi Santosa" <mulyadi.santosa@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: [PATCH] Documentation: updating the explanation of "profile=" param

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@...r, so please kindly Cc:
your reply to my e-mail address.

Signed-off-by: Mulyadi Santosa <mulyadi.santosa@...il.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ