ANDROID: vendor_hooks: Modify the function name
Vendor hook is add in the commit: https://android-review.googlesource.com/c/kernel/common/+/1687592 When we register the vendor hook and build, there is build error: too long symbol "__tracepoint_android_vh_binder_transaction_priority_skip" So, I shorten the function name android_vh_binder_transaction_priority_skip --> android_vh_binder_priority_skip Bug: 186482511 Signed-off-by: xieliujie <xieliujie@oppo.com> Change-Id: I27f39dd32436b09257bcf6e746f4ccdfbd6d6cfe
This commit is contained in:
@@ -738,7 +738,7 @@ static void binder_transaction_priority(struct task_struct *task,
|
|||||||
t->saved_priority.sched_policy = task->policy;
|
t->saved_priority.sched_policy = task->policy;
|
||||||
t->saved_priority.prio = task->normal_prio;
|
t->saved_priority.prio = task->normal_prio;
|
||||||
|
|
||||||
trace_android_vh_binder_transaction_priority_skip(task, &skip);
|
trace_android_vh_binder_priority_skip(task, &skip);
|
||||||
if (skip)
|
if (skip)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@@ -98,7 +98,7 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(android_rvh_nf_conn_free);
|
|||||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_arch_set_freq_scale);
|
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_arch_set_freq_scale);
|
||||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_is_fpsimd_save);
|
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_is_fpsimd_save);
|
||||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_binder_transaction_init);
|
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_binder_transaction_init);
|
||||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_binder_transaction_priority_skip);
|
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_binder_priority_skip);
|
||||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_binder_set_priority);
|
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_binder_set_priority);
|
||||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_binder_restore_priority);
|
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_binder_restore_priority);
|
||||||
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_binder_wakeup_ilocked);
|
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_binder_wakeup_ilocked);
|
||||||
|
@@ -21,7 +21,7 @@ struct seq_file;
|
|||||||
DECLARE_HOOK(android_vh_binder_transaction_init,
|
DECLARE_HOOK(android_vh_binder_transaction_init,
|
||||||
TP_PROTO(struct binder_transaction *t),
|
TP_PROTO(struct binder_transaction *t),
|
||||||
TP_ARGS(t));
|
TP_ARGS(t));
|
||||||
DECLARE_HOOK(android_vh_binder_transaction_priority_skip,
|
DECLARE_HOOK(android_vh_binder_priority_skip,
|
||||||
TP_PROTO(struct task_struct *task, bool *skip),
|
TP_PROTO(struct task_struct *task, bool *skip),
|
||||||
TP_ARGS(task, skip));
|
TP_ARGS(task, skip));
|
||||||
DECLARE_HOOK(android_vh_binder_set_priority,
|
DECLARE_HOOK(android_vh_binder_set_priority,
|
||||||
|
Reference in New Issue
Block a user