Commit 655598b1 authored by Todd Kjos's avatar Todd Kjos Committed by openeuler-sync-bot
Browse files

ANDROID: fixup restricted hooks after tracepont refactoring

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

Reference: https://android.googlesource.com/kernel/common/+/51681321c0ef



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

In upstream commit d9a1be1b ("tracepoints: Do not punish non
static call users"), tracepoint macros were refactored to optimize
for static_call() cases. Since the Android-specific restricted
vendor hook mechanism leverages tracehooks, this required
equivalent refactoring in include/trace/hooks/vendor_hooks.h

Fixes: d9a1be1b ("tracepoints: Do not punish non static call users")
Signed-off-by: default avatarTodd Kjos <tkjos@google.com>
Change-Id: I2e01b34606e6ff0e577b76b57c47f601c32f626b
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Signed-off-by: default avatarYu Liao <liaoyu15@huawei.com>
(cherry picked from commit 56fc8fc2)
parent 8e26e147
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment