Skip to content

Commit

Permalink
doc: Update the name of profiling based on sysfs
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
hjoon0510 authored and Jiri Kosina committed Dec 3, 2012
1 parent 9c76820 commit 817eecb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 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.

0 comments on commit 817eecb

Please sign in to comment.