On Thu, 2 May 2019 20:37:31 +0200 Viktor Rosendahl <viktor.rosend...@gmail.com> wrote:
> > Instead of this being turned into a nop, don't have a kconfig option > > but instead have this call into the trace_irqsoff.c code, and depending > > on what the options are, it should stop it. Of course, this would need > > to be smart enough to pair it. Perhaps return the result of > > console_stop_critical_timings() and have that passed to > > console_start_critical_timings(), and only have start do something if > > stop did something. This way the option only needs to disable the stop > > part. > > Something like this? > > I have only compile tested it so far. > Yeah, something like that. -- Steve