Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 12244

gcda file is empty when using GCOV on arm linux kernel

$
0
0

I have rebuilt linux kernel with GCOV enabled on X86 server.Then boot up arm board with the new kernel.I could see below info after boot up.

root@imx6qpdlsolox:/sys/kernel/debug/gcov# lshome  reset

But after executing test code, the gcda file size is 0. Seems there is no data profiling to it !

root@imx6qpdlsolox:/sys/kernel/debug/gcov/home/tim/linux-imx/drivers/input/touchscreen# ls -lhtotal 0-rwxrwxrwx 1 root root 0 Jan  1  1970 ads7846.gcdalrwxrwxrwx 1 root root 0 Jan  1  1970 ads7846.gcno -> /home/tim/linux-imx/drivers/input/touchscreen/ads7846.gcno-rwxrwxrwx 1 root root 0 Jan  1  1970 colibri-vf50-ts.gcdalrwxrwxrwx 1 root root 0 Jan  1  1970 colibri-vf50-ts.gcno -> /home/tim/linux-imx/drivers/input/touchscreen/colibri-vf50-ts.gcno-rwxrwxrwx 1 root root 0 Jan  1  1970 edt-ft5x06.gcdalrwxrwxrwx 1 root root 0 Jan  1  1970 edt-ft5x06.gcno -> /home/tim/linux-imx/drivers/input/touchscreen/edt-ft5x06.gcno-rwxrwxrwx 1 root root 0 Jan  1  1970 egalax_ts.gcdalrwxrwxrwx 1 root root 0 Jan  1  1970 egalax_ts.gcno -> /home/tim/linux-imx/drivers/input/touchscreen/egalax_ts.gcno

Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>