Re: [PATCH V7 8/9] trace/osnoise: Remove STACKTRACE ifdefs from inside functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 29 Oct 2021 14:31:27 +0200
Daniel Bristot de Oliveira <bristot@xxxxxxxxxx> 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



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux