Commit 7c3348f5 authored by Todd Kjos's avatar Todd Kjos Committed by openeuler-sync-bot
Browse files

ANDROID: use static_call() for restricted hooks

aosp inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7YFU9

Reference: https://android.googlesource.com/kernel/common/+/5e767aa07eea



-------------------------------------------------

commit d25e37d8 ("tracepoint: Optimize using static_call()")
refactored tracepoints to use static_call(). Add the same
optimization for restricted vendor hooks.

Fixes: d25e37d8 ("tracepoint: Optimize using static_call()")
Signed-off-by: default avatarTodd Kjos <tkjos@google.com>
Change-Id: I336db7e90b733ac4098ce342001cc31fd215d137
Signed-off-by: default avatarYu Liao <liaoyu15@huawei.com>
(cherry picked from commit 5eb7d13e)
parent 2767f1bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment