• Linus Torvalds's avatar
    Merge tag 'trace-v4.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · 4f211235
    Linus Torvalds authored
    Pull tracing fixes from Steven Rostedt:
     "This adds three fixes for the tracing code.
    
      The first is a bug when ftrace_dump_on_oops is triggered in atomic
      context and function graph tracer is the tracer that is being
      reported.
    
      The second fix is bad parsing of the trace_events from the kernel
      command line, where it would ignore specific events if the system name
      is used with defining the event(it enables all events within the
      system).
    
      The last one is a fix to the TRACE_DEFINE_ENUM(), where a check was
      missing to see if the ptr was incremented to the end of the string,
      but the loop increments it again and can miss the nul delimiter to
      stop processing"
    
    * tag 'trace-v4.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
      tracing: Fix possible out of bounds memory access when parsing enums
      tracing: Fix incorrect enabling of trace events by boot cmdline
      tracing: Handle ftrace_dump() atomic context in graph_trace_open()
    4f211235
trace_events.c 65.3 KB