Re: [PATCH] MIPS: Enable GCOV

2020-12-04 Thread Thomas Bogendoerfer
On Thu, Dec 03, 2020 at 03:22:51PM +0800, Xingxing Su wrote: > Enable gcov profiling of the entire kernel on mips. Required changes > include disabling profiling for: > > * arch/kernel/boot/compressed: not linked to main kernel. > > Lightly tested on Loongson 3A3000 an 3A4000, seems to work as ex

[PATCH] MIPS: Enable GCOV

2020-12-02 Thread Xingxing Su
Enable gcov profiling of the entire kernel on mips. Required changes include disabling profiling for: * arch/kernel/boot/compressed: not linked to main kernel. Lightly tested on Loongson 3A3000 an 3A4000, seems to work as expected. without "GCOV_PROFILE := n" in compressed Makefile, build errors