linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Doc: Update the naming of profiling based on sysfs
@ 2012-12-03  6:31 Hyeonjun Lim
  2012-12-03 10:12 ` Jiri Kosina
  0 siblings, 1 reply; 2+ messages in thread
From: Hyeonjun Lim @ 2012-12-03  6:31 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-kernel

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. 

Signed-off-by: Hyeonjun Lim <hjoon0510@gmail.com>
---
 Documentation/ABI/testing/sysfs-profiling |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-profiling b/Documentation/ABI/testing/sysfs-profiling
index b02d8b8..8a8e466 100644
--- a/Documentation/ABI/testing/sysfs-profiling
+++ b/Documentation/ABI/testing/sysfs-profiling
@@ -1,13 +1,13 @@
-What:		/sys/kernel/profile
+What:		/sys/kernel/profiling
 Date:		September 2008
 Contact:	Dave Hansen <dave@linux.vnet.ibm.com>
 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.
-- 
1.7.8.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Doc: Update the naming of profiling based on sysfs
  2012-12-03  6:31 [PATCH] Doc: Update the naming of profiling based on sysfs Hyeonjun Lim
@ 2012-12-03 10:12 ` Jiri Kosina
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2012-12-03 10:12 UTC (permalink / raw)
  To: Hyeonjun Lim; +Cc: linux-kernel

On Mon, 3 Dec 2012, Hyeonjun Lim wrote:

> 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. 
> 
> Signed-off-by: Hyeonjun Lim <hjoon0510@gmail.com>
> ---
>  Documentation/ABI/testing/sysfs-profiling |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/ABI/testing/sysfs-profiling b/Documentation/ABI/testing/sysfs-profiling
> index b02d8b8..8a8e466 100644
> --- a/Documentation/ABI/testing/sysfs-profiling
> +++ b/Documentation/ABI/testing/sysfs-profiling
> @@ -1,13 +1,13 @@
> -What:		/sys/kernel/profile
> +What:		/sys/kernel/profiling
>  Date:		September 2008
>  Contact:	Dave Hansen <dave@linux.vnet.ibm.com>
>  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.

I am applying this one, thanks.

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-03 10:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-03  6:31 [PATCH] Doc: Update the naming of profiling based on sysfs Hyeonjun Lim
2012-12-03 10:12 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).