lkml.org 
[lkml]   [2021]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V7 8/9] trace/osnoise: Remove STACKTRACE ifdefs from inside functions
On Fri, 29 Oct 2021 14:31:27 +0200
Daniel Bristot de Oliveira <bristot@kernel.org> wrote:

> > + /*
> > + * 0 is disabled, so it will never be > than latency.
> > + */
> > + if (osnoise_data.print_stack > latency)
> > + return;
>
> Oops, I placed the comment, but forgot to place the check. This if should be:
>
> if (!osnoise_data.print_stack || osnoise_data.print_stack > latency)
> return;

Or I could've had a V8!

https://www.youtube.com/watch?v=qYo0lVVH2wU

-- Steve

\
 
 \ /
  Last update: 2021-10-29 15:03    [W:0.042 / U:2.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site