Re: [PATCH v1] rtla: Fix implicit NULL dereference
From: Steven Rostedt
Date: Fri Jan 10 2025 - 08:04:32 EST
On Fri, 10 Jan 2025 08:38:35 +0300
Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
> Tracing code is generally fast path code so maybe we don't want to add
> a NULL check? If we were really bothered by the existing code then a
> better fix would be to add an inline function to do it.
Note, this code is to the user space tooling (see the "tools/" directory)
and in the slow path of that.
-- Steve