Re: [PATCH] tracing: Fix NULL dereference when copying keys for a field variable

From: Steven Rostedt

Date: Sun Sep 13 2026 - 13:32:33 EST


On Sun, 13 Sep 2026 12:25:23 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> Oh, and there's another bug here. With your example, where you used
> "prio" for sched_switch (which isn't a field), there's an error message
> created, but the command still errors out.

I meant the command still succeeds, it doesn't error out.

-- Steve

>
> [ 415.300003] hist:sched:sched_switch: error: Couldn't parse field variable
> Command: hist:keys=stacktrace:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).my_synth($wakeup_lat,prio)