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]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux