[PATCH] workqueue: add function in event of workqueue_activate_work

2024-03-07 Thread Kassey Li
__field( void *,function) total: 1 errors, 0 warnings, 16 lines checked fix this error. Signed-off-by: Kassey Li --- include/trace/events/workqueue.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/trace/events/workqueue.h b/include/trace/events/w

Re: [PATCH] workqueue: add function in event of workqueue_activate_work

2024-03-07 Thread Kassey Li
On 2024/3/8 9:50, Steven Rostedt wrote: On Fri, 8 Mar 2024 09:09:29 +0800 Kassey Li wrote: The trace event "workqueue_activate_work" only print work struct. However, function is the region of interest in a full sequence of work. Current workqueue_activate_work trace ev

[PATCH v2] workqueue: add function in event of workqueue_activate_work

2024-03-07 Thread Kassey Li
ivate_work will print the function name, align with workqueue_queue_work/execute_start/execute_end event. workqueue_activate_work: work struct ff80413a78b8 function=vmstat_update Signed-off-by: Kassey Li --- Changelog: v1: https://lore.kernel.org/all/20240308010929.1955339-1-quic_yinga...@quici

Re: [PATCH v2] workqueue: add function in event of workqueue_activate_work

2024-03-07 Thread Kassey Li
On 2024/3/8 10:23, Steven Rostedt wrote: On Fri, 8 Mar 2024 10:18:18 +0800 Kassey Li wrote: The trace event "workqueue_activate_work" only print work struct. However, function is the region of interest in a full sequence of work. Current workqueue_activate_work trace ev

Re: [PATCH v2] workqueue: add function in event of workqueue_activate_work

2024-03-19 Thread kassey li
on 2024/3/8 10:23, Steven Rostedt wrote: On Fri, 8 Mar 2024 10:18:18 +0800 Kassey Li wrote: The trace event "workqueue_activate_work" only print work struct. However, function is the region of interest in a full sequence of work. Current workqueue_activate_work trace ev