forked from luck/tmp_suning_uos_patched
13b54a5052
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> |
||
---|---|---|
.. | ||
boards | ||
boot | ||
configs | ||
kernel | ||
lib | ||
mach-at32ap | ||
mm | ||
Kconfig | ||
Kconfig.debug | ||
Makefile |