linux/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
..
Makefile [AVR32] Enable debugging only when needed 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 [AVR32] Export clear_page symbol 2007-01-26 13:12:25 +01:00
cpu.c [AVR32] Clean up cpu identification and add features bitmap 2007-04-27 13:44:13 +02:00
entry-avr32b.S [AVR32] Fix wrong pt_regs in critical exception handler 2007-12-07 14:54:48 +01:00
head.S AVR32: Get rid of board_early_init 2006-11-06 10:43:23 +01:00
init_task.c
irq.c [AVR32] Remove bogus comment in arch/avr32/kernel/irq.c 2007-05-13 16:05:59 +02:00
kprobes.c [AVR32] Enable debugging only when needed 2008-01-25 08:31:39 +01:00
module.c [AVR32] Clean up exception handling code 2007-04-27 13:44:13 +02:00
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 [AVR32] fix command line parsing in early_parse_fbmem 2007-10-11 12:16:56 +02:00
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 [PATCH] AVR32: Implement kernel_execve 2006-10-02 07:57:24 -07:00
syscall-stubs.S AVR32: Wire up sys_epoll_pwait 2006-11-06 14:07:15 +01:00
syscall_table.S [AVR32] Wire up signalfd, timerfd and eventfd 2007-05-13 17:07:57 +02:00
time.c [AVR32] Change system timer from count-compare to Timer/Counter 0 2007-04-27 13:44:12 +02:00
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