1
linux/include
Michael Holzheu 66a464dbc8 [PATCH] s390: debug feature changes
This patch changes the memory allocation method for the s390 debug feature.
Trace buffers had been allocated using the get_free_pages() function before.
Therefore it was not possible to get big memory areas in a running system due
to memory fragmentation.  Now the trace buffers are subdivided into several
subbuffers with pagesize.  Therefore it is now possible to allocate more
memory for the trace buffers and more trace records can be written.

In addition to that, dynamic specification of the size of the trace buffers is
implemented.  It is now possible to change the size of a trace buffer using a
new debugfs file instance.  When writing a number into this file, the trace
buffer size is changed to 'number * pagesize'.

In the past all the traces could be obtained from userspace by accessing files
in the "proc" filesystem.  Now with debugfs we have a new filesystem which
should be used for debugging purposes.  This patch moves the debug feature
from procfs to debugfs.

Since the interface of debug_register() changed, all device drivers, which use
the debug feature had to be adjusted.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-25 16:24:37 -07:00
..
acpi
asm-alpha
asm-arm [PATCH] ARM: Generic Dynamic Tick Timer support for ARM, take 4 2005-06-25 19:39:45 +01:00
asm-arm26
asm-cris
asm-frv
asm-generic
asm-h8300
asm-i386 [PATCH] make smp_prepare_cpu to a weak function 2005-06-25 16:24:30 -07:00
asm-ia64
asm-m32r
asm-m68k
asm-m68knommu
asm-mips [PATCH] mips: add MIPS-specific support for flatmem/discontigmem 2005-06-25 16:24:25 -07:00
asm-parisc
asm-ppc [PATCH] ppc32: Remove FSL OCP support 2005-06-25 16:24:27 -07:00
asm-ppc64
asm-s390 [PATCH] s390: debug feature changes 2005-06-25 16:24:37 -07:00
asm-sh
asm-sh64
asm-sparc
asm-sparc64 [SPARC64]: Report any user access faults in termios accessors. 2005-06-24 20:11:03 -07:00
asm-um [PATCH] uml: add profile_pc for i386 2005-06-25 16:24:36 -07:00
asm-v850
asm-x86_64 [PATCH] swsusp: clean assembly parts 2005-06-25 16:24:33 -07:00
asm-xtensa [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 8 2005-06-24 00:05:22 -07:00
linux [PATCH] properly stop devices before poweroff 2005-06-25 16:24:33 -07:00
math-emu
media [PATCH] v4l: update for SAA7134 cards 2005-06-24 00:06:39 -07:00
mtd
net Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2005-06-24 00:31:46 -07:00
pcmcia
rxrpc
scsi [PATCH] I2O: Adaptec specific SG_IO access, firmware access through sysfs and 2400A workaround 2005-06-24 00:05:28 -07:00
sound
video