Re: [RFC][PATCH] trace: Add trace points for tasklet entry/exit
From: Steven Rostedt
Date: Tue Dec 13 2022 - 15:44:03 EST
On Tue, 13 Dec 2022 18:53:10 +0000
John Stultz <jstultz@xxxxxxxxxx> wrote:
> From: Lingutla Chandrasekhar <clingutla@xxxxxxxxxxxxxx>
>
> Tasklets are supposed to finish their work quickly and
> should not block the current running process, but it is not
> guaranteed that. Currently softirq_entry/exit can be used to
> know total tasklets execution time, but not helpful to track
> individual tasklet's execution time. With that we can't find
> any culprit tasklet function, which is taking more time.
>
> Add tasklet_entry/exit trace point support to track
> individual tasklet execution.
>
> This patch has been carried in the Android tree for awhile
> so I wanted to submit it for review upstream. Feedback would
> be appreciated!
>
> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
> Cc: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: "Paul E. McKenney" <paulmck@xxxxxxxxxx>
> Cc: Connor O'Brien <connoro@xxxxxxxxxx>
> Cc: kernel-team@xxxxxxxxxxx
> Signed-off-by: Lingutla Chandrasekhar <clingutla@xxxxxxxxxxxxxx>
> [elavila: Port to android-mainline]
> Signed-off-by: J. Avila <elavila@xxxxxxxxxx>
> [jstultz: Rebased to upstream, cut unused trace points, added
> comments for the tracepoints, reworded commit]
> Signed-off-by: John Stultz <jstultz@xxxxxxxxxx>
> ---
This looks fine to me.
Reviewed-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
-- Steve