ANDROID: Disable CFI on restricted vendor hooks in TRACE_HEADER_MULTI_READ
commit5e767aa07e
("ANDROID: use static_call() for restricted hooks") introduced an implementation of __iteriter_##_name when TRACE_HEADER_MULTI_READ is defined. __nocfi that function as well in order to keep the performance optimizations from commit384becf164
("ANDROID: Disable CFI on restricted vendor hooks"). Fixes:384becf164
("ANDROID: Disable CFI on restricted vendor hooks") Change-Id: I6ea1cd767bad95c324c06398475174b710ae4dbe Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
This commit is contained in:
@@ -33,7 +33,7 @@ int android_rvh_probe_register(struct tracepoint *tp, void *probe, void *data);
|
||||
.unregfunc = _unreg, \
|
||||
.funcs = NULL }; \
|
||||
__TRACEPOINT_ENTRY(_name); \
|
||||
int __traceiter_##_name(void *__data, proto) \
|
||||
int __nocfi __traceiter_##_name(void *__data, proto) \
|
||||
{ \
|
||||
struct tracepoint_func *it_func_ptr; \
|
||||
void *it_func; \
|
||||
|
Reference in New Issue
Block a user