linux/include
Dave Hansen 22b8ce9470 profiling: dynamically enable readprofile at runtime
Way too often, I have a machine that exhibits some kind of crappy
behavior.  The CPU looks wedged in the kernel or it is spending way too
much system time and I wonder what is responsible.

I try to run readprofile.  But, of course, Ubuntu doesn't enable it by
default.  Dang!

The reason we boot-time enable it is that it takes a big bufffer that we
generally can only bootmem alloc.  But, does it hurt to at least try and
runtime-alloc it?

To use:
echo 2 > /sys/kernel/profile

Then run readprofile like normal.

This should fix the compile issue with allmodconfig.  I've compile-tested
on a bunch more configs now including a few more architectures.

Signed-off-by: Dave Hansen <dave@linux.vnet.ibm.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-16 11:21:31 -07:00
..
acpi include: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
asm-arm
asm-cris
asm-frv
asm-generic include: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
asm-h8300 h8300: update timer handler - new files 2008-10-16 11:21:29 -07:00
asm-m32r
asm-m68k m68k: remove the dead PCI code 2008-10-14 10:23:27 -07:00
asm-mn10300
asm-parisc Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-10-13 17:13:56 +01:00
asm-um
asm-x86 include: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
asm-xtensa
crypto
drm
keys
linux profiling: dynamically enable readprofile at runtime 2008-10-16 11:21:31 -07:00
math-emu
media include: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
mtd
net include: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
pcmcia
rdma
rxrpc
scsi Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2008-10-10 10:53:26 -07:00
sound Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2008-10-13 14:03:59 -07:00
video include: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
xen xen: remove unused balloon.h 2008-10-03 10:04:10 +02:00
Kbuild