Skip to contentSkip to conversation

Doc: Update the naming of profiling based on sysfs

PATCH In review Hyeonjun Lim 2 participants 2 messages Dec 3, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Doc: Update the naming of profiling based on sysfs

We setup and run 'profiling' feature under Linux system. The readprofile(1) command uses the /proc/profile information to display ascii data on standard output.
sort -nr | head -5

/proc/profile correctly. The ./kernel/ksysfs.c defines 'profiling' w/o 'profile' like "KERNEL_ATTR_RW(profiling)".
We need to synchronize the content between ksys.c source and kernel doc.

---
 Documentation/ABI/testing/sysfs-profiling |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
Documentation/ABI/testing/sysfs-profiling +3 -3
index b02d8b8..8a8e466 100644
@@ -1,13 +1,13 @@
-What:		/sys/kernel/profile
+What:		/sys/kernel/profiling
 Date:		September 2008
 Contact:	Dave Hansen <[email protected]>
 Description:
-		/sys/kernel/profile is the runtime equivalent
+		/sys/kernel/profiling is the runtime equivalent
 		of the boot-time profile= option.
 
 		You can get the same effect running:
 
-			echo 2 > /sys/kernel/profile
+			echo 2 > /sys/kernel/profiling
 
 		as you would by issuing profile=2 on the boot
 		command line.
Signature · 1 line
1.7.8.1
#1 lore raw
Quoted 25 lines · Hyeonjun Lim

We setup and run 'profiling' feature under Linux system. The readprofile(1) command uses the /proc/profile information to display ascii data on standard output.
sort -nr | head -5

/proc/profile correctly. The ./kernel/ksysfs.c defines 'profiling' w/o 'profile' like "KERNEL_ATTR_RW(profiling)".
We need to synchronize the content between ksys.c source and kernel doc.

---
 Documentation/ABI/testing/sysfs-profiling |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
Documentation/ABI/testing/sysfs-profiling +1 -2
index b02d8b8..8a8e466 100644
@@ -1,13 +1,13 @@
-What:		/sys/kernel/profile
+What:		/sys/kernel/profiling
 Date:		September 2008
 Contact:	Dave Hansen <[email protected]>
 Description:
-		/sys/kernel/profile is the runtime equivalent

Documentation/ABI/testing/sysfs-profiling line 13

Quoted 10 lines
Documentation/ABI/testing/sysfs-profiling +2 -1
+		/sys/kernel/profiling is the runtime equivalent
 		of the boot-time profile= option.
 
 		You can get the same effect running:
 
-			echo 2 > /sys/kernel/profile
+			echo 2 > /sys/kernel/profiling
 
 		as you would by issuing profile=2 on the boot
 		command line.

I am applying this one, thanks.

Signature · 2 lines
Jiri Kosina
SUSE Labs