OpenCloudOS-Kernel/arch/x86/um/vdso
Vegard Nossum 915eed20e4 um: Support kcov
This adds support for kcov to UML.

There is a small problem where UML will randomly segfault during boot;
this is because current_thread_info() occasionally returns an invalid
(non-NULL) pointer and we try to dereference it in
__sanitizer_cov_trace_pc(). I consider this a bug in UML itself and this
patch merely exposes it.

[v2: disable instrumentation in UML-specific code]

Cc: Quentin Casasnovas <quentin.casasnovas@oracle.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Thomas Meyer <thomas@m3y3r.de>
Cc: user-mode-linux-devel <user-mode-linux-devel@lists.sourceforge.net>
Cc: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2016-08-04 00:18:06 +02:00
..
.gitignore um/vdso: add .gitignore for a couple of targets 2013-11-17 11:32:07 +01:00
Makefile um: Support kcov 2016-08-04 00:18:06 +02:00
checkundef.sh um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
um_vdso.c um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
vdso-layout.lds.S um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
vdso-note.S um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
vdso.S um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
vdso.lds.S um: take arch/um/sys-x86 to arch/x86/um 2011-11-02 14:15:05 +01:00
vma.c vdso: make arch_setup_additional_pages wait for mmap_sem for write killable 2016-05-23 17:04:14 -07:00