]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: gcov: enable gcov for RISC-V
authorZong Li <zong.li@sifive.com>
Thu, 2 Jan 2020 03:09:54 +0000 (11:09 +0800)
committerPaul Walmsley <paul.walmsley@sifive.com>
Fri, 3 Jan 2020 08:47:02 +0000 (00:47 -0800)
commite0e859cb2898fb4b578665cbe6ebfe757d2ea93a
treef8e5eeb96d120146213c3421f7f05b65b67f8dd2
parentf87cccc6c9bc384617035b369854cdbafa6ae187
riscv: gcov: enable gcov for RISC-V

This patch enables GCOV code coverage measurement on RISC-V.
Lightly tested on QEMU and Hifive Unleashed board, seems to work as
expected.

Signed-off-by: Zong Li <zong.li@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Documentation/features/debug/gcov-profile-all/arch-support.txt
arch/riscv/Kconfig