[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200807172804.031b9241@oasis.local.home>
Date: Fri, 7 Aug 2020 17:28:04 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: [GIT PULL] tracing: Updates for 5.9
[ This time Cc'ing LKML ]
Linus,
Tracing updates for 5.9
- The biggest news in that the tracing ring buffer can now time events that
interrupted other ring buffer events. Before this change, if an interrupt
came in while recording another event, and that interrupt also had an
event, those events would all have the same time stamp as the event it
interrupted. Now, with the new design, those events will have a unique time
stamp and rightfully display the time for those events that were recorded
while interrupting another event.
- Bootconfig how has an "override" operator that lets the users have a
default config, but then add options to override the default.
- A fix was made to properly filter function graph tracing to the ftrace
PIDs. This came in at the end of the -rc cycle, and needs to be backported.
- Several clean ups, performance updates, and minor fixes as well.
Please pull the latest trace-v5.9 tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
trace-v5.9
Tag SHA1: d262bb9817f9f28ef4370c2de8a2a6058e25ed87
Head SHA1: 38ce2a9e33db61a3041840310077072d6210ead4
Chengming Zhou (2):
ftrace: Setup correct FTRACE_FL_REGS flags for module
ftrace: Do not let direct or IPMODIFY ftrace_ops be added to module and set trampolines
Josef Bacik (1):
ftrace: Fix ftrace_trace_task return value
Kevin Hao (2):
tracing/hwlat: Drop the duplicate assignment in start_kthread()
tracing/hwlat: Honor the tracing_cpumask
Masami Hiramatsu (5):
kprobes: Remove show_registers() function prototype
lib/bootconfig: Add override operator support
tools/bootconfig: Add testcases for value override operator
Documentation: bootconfig: Add bootconfig override operator
bootconfig: Fix to find the initargs correctly
Muchun Song (2):
kprobes: Fix NULL pointer dereference at kprobe_ftrace_handler
kprobes: Fix compiler warning for !CONFIG_KPROBES_ON_FTRACE
Nicholas Piggin (1):
ring-buffer: speed up buffer resets by avoiding synchronize_rcu for each CPU
Nick Desaulniers (2):
tracepoint: Mark __tracepoint_string's __used
tracepoint: Use __used attribute definitions from compiler_attributes.h
Peng Fan (1):
tracing/uprobe: Remove dead code in trace_uprobe_register()
Steven Rostedt (VMware) (15):
tracing: Only allow trace_array_printk() to be used by instances
x86/ftrace: Make non direct case the default in ftrace_regs_caller
x86/ftrace: Only have the builtin ftrace_regs_caller call direct hooks
x86/ftrace: Do not jump to direct code in created trampolines
tracing: Move pipe reference to trace array instead of current_tracer
ring-buffer: Have nested events still record running time stamp
ring-buffer: Incorporate absolute timestamp into add_timestamp logic
ring-buffer: Add rb_time_t 64 bit operations for speeding up 32 bit
ring-buffer: Mark the !tail (crossing a page) as unlikely
ring-buffer: Consolidate add_timestamp to remove some branches
ring-buffer: Move the add_timestamp into its own function
ring-buffer: Call trace_clock_local() directly for RETPOLINE kernels
ring-buffer: Do not trigger a WARN if clock going backwards is detected
tracing: Use trace_sched_process_free() instead of exit() for pid tracing
tracing: Add trace_array_init_printk() to initialize instance trace_printk() buffers
Vincent Whitchurch (1):
tracing: Remove outdated comment in stack handling
Wei Yang (6):
tracing: not necessary to undefine DEFINE_EVENT again
tracing: not necessary re-define DEFINE_EVENT_PRINT
tracing: define DEFINE_EVENT_PRINT not related to DEFINE_EVENT
tracing: not necessary to define DEFINE_EVENT_PRINT to be empty again
tracing: Simplify defining of the next event id
tracing: Save one trace_event->type by using __TRACE_LAST_TYPE
Zhaoyang Huang (1):
trace : Have tracing buffer info use kvzalloc instead of kzalloc
----
Documentation/admin-guide/bootconfig.rst | 11 +
arch/x86/kernel/ftrace.c | 14 +-
arch/x86/kernel/ftrace_64.S | 29 +-
include/linux/kprobes.h | 1 -
include/linux/ring_buffer.h | 1 +
include/linux/trace.h | 1 +
include/linux/tracepoint.h | 11 +-
include/trace/trace_events.h | 19 +-
init/main.c | 14 +-
kernel/kprobes.c | 24 +-
kernel/trace/ftrace.c | 34 +-
kernel/trace/ring_buffer.c | 694 +++++++++++++++++++++------
kernel/trace/trace.c | 80 ++-
kernel/trace/trace.h | 9 +-
kernel/trace/trace_events.c | 4 +-
kernel/trace/trace_hwlat.c | 6 +-
kernel/trace/trace_output.c | 14 +-
kernel/trace/trace_uprobe.c | 1 -
lib/bootconfig.c | 33 +-
tools/bootconfig/samples/bad-override.bconf | 3 +
tools/bootconfig/samples/bad-override2.bconf | 3 +
tools/bootconfig/samples/good-override.bconf | 6 +
tools/bootconfig/test-bootconfig.sh | 13 +
23 files changed, 775 insertions(+), 250 deletions(-)
create mode 100644 tools/bootconfig/samples/bad-override.bconf
create mode 100644 tools/bootconfig/samples/bad-override2.bconf
create mode 100644 tools/bootconfig/samples/good-override.bconf
---------------------------
Powered by blists - more mailing lists