Re: [PATCH v4 3/3] tracing: Histogram for missed timer offsets

From: Steven Rostedt
Date: Tue Aug 30 2016 - 10:15:35 EST


On Tue, 30 Aug 2016 15:58:44 +0530
Binoy Jayan <binoy.jayan@xxxxxxxxxx> wrote:

> +TRACE_EVENT(latency_hrtimer_interrupt,
> +
> + TP_PROTO(long long toffset, struct task_struct *curr,
> + struct task_struct *task),
> +
> + TP_ARGS(toffset, curr, task),
> +
> + TP_STRUCT__entry(
> + __field(long long, toffset)
> + __array(char, ccomm, TASK_COMM_LEN)

Can curr be different than current? If not, lets not record it.

-- Steve


> + __field(int, cprio)
> + __array(char, tcomm, TASK_COMM_LEN)
> + __field(int, tprio)
> + ),