Re: [PATCH 5.7 5.8] tracing: Move pipe reference to trace array instead of current_tracer

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

 



On Wed, 12 Aug 2020 16:58:54 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> > This is marked as "Fixes" but is more of a clean up than a true fix.
> > Backport if you want, but its not critical.  
> 
> A note to stable maintainers. I originally thought this was just a
> clean up, but it was then found that it actually does fix a bug.

I cut out the explanation in the email:

> This addresses an issue we've seen with users trying to change
> current_tracer when they happen to have rasdaemon installed.
> rasdaemon uses the trace_pipe interface at runtime, which therefore
> blocks changing the current tracer. But of course, unless
> you know about rasdaemon internals, it isn't exactly an obvious
> failure mode.
> 
> Conflict in __remove_instance() was due to a change in reference counter
>  semantics introduced later in v5.5 via commit 288797871473
>  "tracing: Adding new functions for kernel access to Ftrace instances".
> Resolved by leaving the first test in the if statement as it was in v5.4.

-- Steve



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux