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>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1212031112010.27624@pobox.suse.cz>
Date:	Mon, 3 Dec 2012 11:12:14 +0100 (CET)
From:	Jiri Kosina <jkosina@...e.cz>
To:	Hyeonjun Lim <hjoon0510@...il.com>
Cc:	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Doc: Update the naming of profiling based on sysfs

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@...il.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@...ux.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
--
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