On Mon, 12 Oct 2020 08:14:50 -0700
Rob Clark wrote:
> > DEFINE_EVENT(sched_kthread_work_execute_template,
> > sched_kthread_work_execute_start,
> > TP_PROTO(struct kthread_work *work),
> > TP_ARGS(work));
> >
> > DEFINE_EVENT(sched_kthread_work_execute_template,
> > sched_kthrea
On Mon, Oct 12, 2020 at 6:59 AM Steven Rostedt wrote:
>
> On Sat, 10 Oct 2020 11:03:22 -0700
> Rob Clark wrote:
>
> > /**
> > + * sched_kthread_work_execute_start - called immediately before the work
> > callback
> > + * @work:pointer to struct kthread_work
> > + *
> > + * Allows to track kt
On Sat, 10 Oct 2020 11:03:22 -0700
Rob Clark wrote:
> /**
> + * sched_kthread_work_execute_start - called immediately before the work
> callback
> + * @work:pointer to struct kthread_work
> + *
> + * Allows to track kthread work execution.
> + */
> +TRACE_EVENT(sched_kthread_work_execute_sta
From: Rob Clark
While migrating some code from wq to kthread_worker, I found that I
missed the execute_start/end tracepoints. So add similar tracepoints
for kthread_work. And for completeness, queue_work tracepoint (although
this one differs slightly from the matching workqueue tracepoint).
Si
4 matches
Mail list logo