diff options
author | Greg Hackmann <ghackmann@android.com> | 2019-05-14 18:45:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-14 22:52:51 -0400 |
commit | 826eba0d77bc74c4d1c611374b76abfe251e8538 (patch) | |
tree | 14c87fc4cce352127d798701051f27b96cd6cdf3 /kernel/gcov/gcov.h | |
parent | ce528c4c20f94b48781a9bb9e32435d2b9782995 (diff) |
gcov: clang: move common GCC code into gcc_base.c
Patch series "gcov: add Clang support", v4.
This patch (of 3):
base.c contains a few callbacks specific to GCC's gcov implementation.
Move these into their own module in preparation for Clang support.
Link: http://lkml.kernel.org/r/20190318025411.98014-2-trong@android.com
Signed-off-by: Greg Hackmann <ghackmann@android.com>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Tri Vo <trong@android.com>
Tested-by: Trilok Soni <tsoni@quicinc.com>
Tested-by: Prasad Sodagudi <psodagud@quicinc.com>
Tested-by: Tri Vo <trong@android.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Cc: Daniel Mentz <danielmentz@google.com>
Cc: Petri Gynther <pgynther@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/gcov/gcov.h')
-rw-r--r-- | kernel/gcov/gcov.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/gcov/gcov.h b/kernel/gcov/gcov.h index de118ad4a024..0ecf1d664ec3 100644 --- a/kernel/gcov/gcov.h +++ b/kernel/gcov/gcov.h | |||
@@ -83,4 +83,7 @@ struct gcov_link { | |||
83 | }; | 83 | }; |
84 | extern const struct gcov_link gcov_link[]; | 84 | extern const struct gcov_link gcov_link[]; |
85 | 85 | ||
86 | extern int gcov_events_enabled; | ||
87 | extern struct mutex gcov_lock; | ||
88 | |||
86 | #endif /* GCOV_H */ | 89 | #endif /* GCOV_H */ |