Doc: Update the naming of profiling based on sysfs
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
@@ -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
Quoted 25 lines · Hyeonjun Lim
We setup and run 'profiling' feature under Linux system. The readprofile(1) command uses the
/proc/profileinformation to display ascii data on standard output.
sort -nr | head -5
/proc/profilecorrectly. The./kernel/ksysfs.cdefines 'profiling' w/o 'profile' like "KERNEL_ATTR_RW(profiling)".
We need to synchronize the content betweenksys.csource and kernel doc.Signed-off-by Hyeonjun Lim <[email protected]>--- Documentation/ABI/testing/sysfs-profiling | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)Documentation/ABI/testing/sysfs-profiling +1
-2@@ -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