tracing: Updates for 3.17
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest21 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/21 | ftrace: Allow no regs if no more callbacks require itkernel/ | +32 | 0 replies | |
| 2/21 | ftrace: Use macros for numbers in ftrace rec shift bitsinclude/ | +5 | 0 replies | |
| 3/21 | ftrace: Add ftrace_rec_counter() macro to simplify the codeinclude/ kernel/ | +8 | 0 replies | |
| 4/21 | ftrace: Optimize function graph to be called directlyarch/ include/ kernel/ | +254 | 6 replies | |
| 5/21 | ftrace: Add trampolines to enabled_functions debug filekernel/ | +14 | 0 replies | |
| 6/21 | tracing: Change trace event sample to use strlcpy instead of strncpysamples/ | +1 | 0 replies | |
| 7/21 | ftrace: Simplify ftrace_hash_disable/enable path in ftrace_hash_movekernel/ | +11 | 0 replies | |
| 8/21 | tracing: Move the trace_seq_* functions into its own trace_seq.c fileinclude/ kernel/ kernel/ +3 more | +306 | 0 replies | |
| 9/21 | tracing: Clean up trace_seq.cinclude/ kernel/ | +185 | 0 replies | |
| 10/21 | tracing: Make trace_seq_putmem_hex() more robustinclude/ kernel/ kernel/ | +19 | 0 replies | |
| 11/21 | tracing: Remove trace_seq_reserve()include/ kernel/ | +0 | 0 replies | |
| 12/21 | tracing: Remove unnecessary null test before debugfs_remove()kernel/ | +2 | 0 replies | |
| 13/21 | tracing: Add trace_seq_buffer_ptr() helper functionarch/ drivers/ include/ +1 more | +31 | 0 replies | |
| 14/21 | ftrace: Get rid of obsolete global_start_up variablekernel/ | +1 | 0 replies | |
| 15/21 | ftrace: Fix memory leak on failure path in ftrace_allocate_pages()kernel/ | +2 | 0 replies | |
| 16/21 | ftrace: Do not copy hash if O_TRUNC is setkernel/ | +7 | 0 replies | |
| 17/21 | tracing: Convert pr_warning() to pr_warn() in trace_events.ckernel/ | +27 | 0 replies | |
| 18/21 | tracing: Add ftrace_graph_notrace boot parameterDocumentation/ kernel/ | +26 | 0 replies | |
| 19/21 | tracing: Improve message of empty set_graph_notrace filekernel/ | +6 | 0 replies | |
| 20/21 | tracing: Improve message of empty set_ftrace_notrace filekernel/ | +8 | 0 replies | |
| 21/21 | tracing: Add description of set_graph_notrace to tracing/READMEkernel/ | +1 | 0 replies |
Reviews trailers per patch
1 of 21 patches has a Reviewed-by or Acked-by.
| Patch | Paolo Bonzini | Tuomas Tynkkynen |
|---|---|---|
| 1/21 | ||
| 2/21 | ||
| 3/21 | ||
| 4/21 | T-b | |
| 5/21 | ||
| 6/21 | ||
| 7/21 | ||
| 8/21 | ||
| 9/21 | ||
| 10/21 | ||
| 11/21 | ||
| 12/21 | ||
| 13/21 | A-b | |
| 14/21 | ||
| 15/21 | ||
| 16/21 | ||
| 17/21 | ||
| 18/21 | ||
| 19/21 | ||
| 20/21 | ||
| 21/21 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [for-next][PATCH 00/21] tracing: Updates for 3.17
This is my current 3.17 queue. I'm still waiting on acks from various arch maintainers to add the ftrace_stop/start() removal code that I also want to add to this.
This includes various clean ups and enhancements, but the big feature is the "trampoline" field added to the ftrace_ops. The only user of that currently is the function_graph tracer. This is because the function graph tracer normally jumps to the function tracer mcount trampoline, saves and restores regs without doing anything before it gets to the function graph code that also saves and restores regs (slightly differently mind you), and runs its code. Now, if function graph tracer is the only callback of a function, its code will be called directly, skipping the function trampoline entirely.
The trace_seq code was also cleaned up. This opens up the possibility that the trace_seq can be converted to "seq_buf" and used for printing in NMI context.
I'm still waiting on a Acked-by from the SCSI folks for a change to the trace_seq code that removes some open access of the trace_seq buffer. I wont push this to my next branch until I hear back from them.
The way to push will also let people give me feedback before this becomes solidified in stone, as I don't like to rebase my for-next branch.
-- Steve
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
for-next
Head SHA1: d048a8c7b509f35dd351e1415fe49fa99e4cb7ef
Fabian Frederick (2):
tracing: Remove unnecessary null test before debugfs_remove()
tracing: Convert pr_warning() to pr_warn() in trace_events.c
Masami Hiramatsu (1):
ftrace: Simplify ftrace_hash_disable/enable path in ftrace_hash_move
Namhyung Kim (7):
ftrace: Get rid of obsolete global_start_up variable
ftrace: Fix memory leak on failure path in ftrace_allocate_pages()
ftrace: Do not copy hash if O_TRUNC is set
tracing: Add ftrace_graph_notrace boot parameter
tracing: Improve message of empty set_graph_notrace file
tracing: Improve message of empty set_ftrace_notrace file
tracing: Add description of set_graph_notrace to tracing/README
Steven Rostedt (Red Hat) (10):
ftrace: Allow no regs if no more callbacks require it
ftrace: Use macros for numbers in ftrace rec shift bits
ftrace: Add ftrace_rec_counter() macro to simplify the code
ftrace: Optimize function graph to be called directly
ftrace: Add trampolines to enabled_functions debug file
tracing: Move the trace_seq_* functions into its own trace_seq.c file
tracing: Clean up trace_seq.c
tracing: Make trace_seq_putmem_hex() more robust
tracing: Remove trace_seq_reserve()
tracing: Add trace_seq_buffer_ptr() helper function
Zhao Hongjiang (1):
tracing: Change trace event sample to use strlcpy instead of strncpy
----
Documentation/kernel-parameters.txt | 6 + arch/x86/kernel/mcount_64.S | 5 + arch/x86/kvm/mmutrace.h | 2 +- drivers/scsi/scsi_trace.c | 16 +- include/linux/ftrace.h | 24 +- include/linux/trace_seq.h | 36 ++- kernel/trace/Makefile | 1 + kernel/trace/ftrace.c | 394 ++++++++++++++++++++++---- kernel/trace/trace.c | 31 +-- kernel/trace/trace_events.c | 56 ++-- kernel/trace/trace_output.c | 282 +------------------ kernel/trace/trace_output.h | 4 - kernel/trace/trace_seq.c | 428 +++++++++++++++++++++++++++++ samples/trace_events/trace-events-sample.h | 2 +- 14 files changed, 870 insertions(+), 417 deletions(-)