Skip to content
Snippets Groups Projects
Commit e0a26bcd authored by wei li's avatar wei li Committed by Todd Kjos
Browse files

ANDROID: vendor_hooks: shorten mutex_unlock_slowpath_before_wakeq


When we use this KMI(__tracepoint_android_vh_mutex_unlock_slowpath_before_wakeq)
in vendor modules, it reports modpost error: too long symbol. So, shorten it as
__tracepoint_android_vh_mutex_unlock_slowpath_bf_wakeq.

Fixes: 9f6bd037 ("ANDROID: vendor_hooks: add hook in __mutex_unlock_slowpath()")

Bug: 381511799

Change-Id: I1a74ea3433dd2d9e234f56ea81a7c1020f4a56bb
Signed-off-by: default avatarwei li <sirius.liwei@honor.corp-partner.google.com>
parent 0acf512c
No related branches found
No related tags found
No related merge requests found
......@@ -312,7 +312,7 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_gzvm_handle_demand_page_post);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_gzvm_destroy_vm_post_process);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_alter_mutex_list_add);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_mutex_unlock_slowpath);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_mutex_unlock_slowpath_before_wakeq);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_mutex_unlock_slowpath_bf_wakeq);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_save_track_hash);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_should_fault_around);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_mem_cgroup_charge);
......
......@@ -129,7 +129,7 @@ DECLARE_HOOK(android_vh_alter_mutex_list_add,
DECLARE_HOOK(android_vh_mutex_unlock_slowpath,
TP_PROTO(struct mutex *lock),
TP_ARGS(lock));
DECLARE_HOOK(android_vh_mutex_unlock_slowpath_before_wakeq,
DECLARE_HOOK(android_vh_mutex_unlock_slowpath_bf_wakeq,
TP_PROTO(struct mutex *lock),
TP_ARGS(lock));
......
......@@ -974,7 +974,7 @@ static noinline void __sched __mutex_unlock_slowpath(struct mutex *lock, unsigne
if (owner & MUTEX_FLAG_HANDOFF)
__mutex_handoff(lock, next);
trace_android_vh_mutex_unlock_slowpath_before_wakeq(lock);
trace_android_vh_mutex_unlock_slowpath_bf_wakeq(lock);
raw_spin_unlock(&lock->wait_lock);
wake_up_q(&wake_q);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment