• Linus Torvalds's avatar
    Merge tag 'trace-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · 2074006d
    Linus Torvalds authored
    Pull tracing updates from Steven Rostedt:
     "The new features of this release:
    
       - Added TRACE_DEFINE_SIZEOF() which allows trace events that use
         sizeof() it the TP_printk() to be converted to the actual size such
         that trace-cmd and perf can parse them correctly.
    
       - Some rework of the TRACE_DEFINE_ENUM() such that the above
         TRACE_DEFINE_SIZEOF() could reuse the same code.
    
       - Recording of tgid (Thread Group ID). This is similar to how task
         COMMs are recorded (cached at sched_switch), where it is in a table
         and used on output of the trace and trace_pipe files.
    
       - Have ":mod:<module>" be cached when written into set_ftrace_filter.
         Then the functions of the module will be traced at module load.
    
       - Some random clean ups and small fixes"
    
    * tag 'trace-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: (26 commits)
      ftrace: Test for NULL iter->tr in regex for stack_trace_filter changes
      ftrace: Decrement count for dyn_ftrace_total_info for init functions
      ftrace: Unlock hash mutex on failed allocation in process_mod_list()
      tracing: Add support for display of tgid in trace output
      tracing: Add support for recording tgid of tasks
      ftrace: Decrement count for dyn_ftrace_total_info file
      ftrace: Remove unused function ftrace_arch_read_dyn_info()
      sh/ftrace: Remove only user of ftrace_arch_read_dyn_info()
      ftrace: Have cached module filters be an active filter
      ftrace: Implement cached modules tracing on module load
      ftrace: Have the cached module list show in set_ftrace_filter
      ftrace: Add :mod: caching infrastructure to trace_array
      tracing: Show address when function names are not found
      ftrace: Add missing comment for FTRACE_OPS_FL_RCU
      tracing: Rename update the enum_map file
      tracing: Add TRACE_DEFINE_SIZEOF() macros
      tracing: define TRACE_DEFINE_SIZEOF() macro to map sizeof's to their values
      tracing: Rename enum_replace to eval_replace
      trace: rename enum_map functions
      trace: rename trace.c enum functions
      ...
    2074006d
module.c 110 KB