kernel_optimize_test/arch/avr32/kernel
Haavard Skinnemoen 13b54a5052 [AVR32] Enable debugging only when needed
Keep track of processes being debugged (including the kernel itself)
and turn the OCD system on and off as appropriate. Since enabling
debugging turns off some optimizations in the CPU core, this fixes the
issue that enabling KProbes support or simply running a program under
gdbserver will reduce system performance significantly until the next
reboot.

The CPU performance will still be reduced for all processes while a
process is being debugged, but this is a lot better than reducing the
performance forever.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2008-01-25 08:31:39 +01:00
..
asm-offsets.c [AVR32] Follow the rules when dealing with the OCD system 2007-12-07 14:54:46 +01:00
avr32_ksyms.c
cpu.c
entry-avr32b.S [AVR32] Fix wrong pt_regs in critical exception handler 2007-12-07 14:54:48 +01:00
head.S
init_task.c
irq.c
kprobes.c [AVR32] Enable debugging only when needed 2008-01-25 08:31:39 +01:00
Makefile [AVR32] Enable debugging only when needed 2008-01-25 08:31:39 +01:00
module.c
ocd.c [AVR32] Enable debugging only when needed 2008-01-25 08:31:39 +01:00
process.c [AVR32] Enable debugging only when needed 2008-01-25 08:31:39 +01:00
ptrace.c [AVR32] Enable debugging only when needed 2008-01-25 08:31:39 +01:00
semaphore.c
setup.c
signal.c [AVR32] Remove redundant try_to_freeze() call from do_signal() 2008-01-25 08:31:39 +01:00
stacktrace.c [AVR32] Implement stacktrace support 2007-12-07 14:52:36 +01:00
switch_to.S
sys_avr32.c
syscall_table.S
syscall-stubs.S
time.c
traps.c [AVR32] Clean up OCD register usage 2007-12-07 14:54:40 +01:00
vmlinux.lds.S [AVR32] Follow the rules when dealing with the OCD system 2007-12-07 14:54:46 +01:00