Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 9bb473b

Browse files
committed
ANDROID: GKI: remove export of tracing control functions
Android GKI kernel modules should NOT have the ability to control the system-wide tracing functionality, nor query to determine if it is on or not. So remove the exports of these functions. Upstream does not wish to do this, so an Android-only change is required. See the bug id for details. Bug: 355584612 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I50f69cd9930ddc6b876c5c1dd86f51cfb2ee1bac
1 parent 2dad335 commit 9bb473b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

kernel/trace/trace.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,6 @@ void tracing_on(void)
10391039
{
10401040
tracer_tracing_on(&global_trace);
10411041
}
1042-
EXPORT_SYMBOL_GPL(tracing_on);
10431042

10441043

10451044
static __always_inline void
@@ -1612,7 +1611,6 @@ int tracing_is_on(void)
16121611
{
16131612
return tracer_tracing_is_on(&global_trace);
16141613
}
1615-
EXPORT_SYMBOL_GPL(tracing_is_on);
16161614

16171615
static int __init set_buf_size(char *str)
16181616
{

0 commit comments

Comments
 (0)