Re: [PATCH v4] tools/rtla: Add osnoise_trace_is_off()

From: Dan Carpenter
Date: Wed Jan 15 2025 - 13:40:52 EST


On Wed, Jan 15, 2025 at 07:58:30PM +0200, Costa Shulyupin wrote:
> The original code accidentally works because offset of
> `record->trace` is zero.

It doesn't "accidentally work". The people who write this kind of
code 100% understand what they are doing. They don't see it as
anything complicated.

regards,
dan carpenter