--- zzzz-none-000/linux-5.15.111/kernel/workqueue.c 2023-05-11 14:00:40.000000000 +0000 +++ puma7-arm-6670-761/linux-5.15.111/kernel/workqueue.c 2024-02-07 09:28:08.000000000 +0000 @@ -53,6 +53,7 @@ #include #include "workqueue_internal.h" +#include enum { /* @@ -2304,7 +2305,11 @@ */ lockdep_invariant_state(true); trace_workqueue_execute_start(work); + avm_simple_profiling_log(avm_profile_data_type_workitem_begin, (unsigned int)worker->current_func, + (unsigned int)work); worker->current_func(work); + avm_simple_profiling_log(avm_profile_data_type_workitem_end, (unsigned int)worker->current_func, + (unsigned int)work); /* * While we must be careful to not use "work" after this, the trace * point will only record its address.