66a464dbc8
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> |
||
---|---|---|
.. | ||
claw.c | ||
claw.h | ||
ctcdbug.c | ||
ctcdbug.h | ||
ctcmain.c | ||
ctcmain.h | ||
ctctty.c | ||
ctctty.h | ||
cu3088.c | ||
cu3088.h | ||
fsm.c | ||
fsm.h | ||
iucv.c | ||
iucv.h | ||
Kconfig | ||
lcs.c | ||
lcs.h | ||
Makefile | ||
netiucv.c | ||
qeth_eddp.c | ||
qeth_eddp.h | ||
qeth_fs.h | ||
qeth_main.c | ||
qeth_mpc.c | ||
qeth_mpc.h | ||
qeth_proc.c | ||
qeth_sys.c | ||
qeth_tso.h | ||
qeth.h | ||
smsgiucv.c | ||
smsgiucv.h |