ANDROID: 16K: Update sysctl_perf_event_mlock if PERF_EVENTS enabled
If the kernel is build with CONFIG_PERF_EVENTS disabled then the build
will fail since the definition of sysctl_perf_event_mlock is compiled
out.
Fix this by only attempting to reinitialize it if CONFIG_PERF_EVENTS
is enabled.
Bug: 374141783
Bug: 374005105
Bug: 366098040
Change-Id: Idfad9a93841bcc94a17365e468736bc14c52eee4
Signed-off-by:
Kalesh Singh <kaleshsingh@google.com>
Loading
Please sign in to comment