tracing: Updates for 5.5
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest33 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/33 | ftrace: Introduce PERMANENT ftrace_ops flagDocumentation/ Documentation/ include/ +2 more | +37 | 0 replies | |
| 2/33 | selftests/livepatch: Make dynamic debug setup and restore generictools/ tools/ tools/ +1 more | +16 | 0 replies | |
| 3/33 | selftests/livepatch: Test interaction with ftrace_enabledtools/ tools/ tools/ | +80 | 0 replies | |
| 4/33 | ftrace: Separate out the copying of a ftrace_hash from __ftrace_hash_move()kernel/ | +17 | 0 replies | |
| 5/33 | ftrace: Separate out functionality from ftrace_location_range()kernel/ | +23 | 0 replies | |
| 6/33 | ftrace: Add register_ftrace_direct()include/ kernel/ kernel/ | +306 | 0 replies | |
| 7/33 | ftrace: Add ftrace_find_direct_func()include/ kernel/ | +84 | 0 replies | |
| 8/33 | ftrace: Add sample module that uses register_ftrace_direct()samples/ samples/ samples/ +1 more | +57 | 0 replies | |
| 9/33 | ftrace/selftest: Add tests to test register_ftrace_direct()tools/ tools/ | +124 | 0 replies | |
| 10/33 | ftrace: Add another example of register_ftrace_direct() use casesamples/ samples/ | +52 | 0 replies | |
| 11/33 | ftrace/selftests: Update the direct call selftests to test two direct callstools/ tools/ | +52 | 0 replies | |
| 12/33 | ftrace/x86: Add register_ftrace_direct() for custom trampolinesarch/ arch/ arch/ +2 more | +59 | 0 replies | |
| 13/33 | ftrace/x86: Add a counter to test function_graph with directarch/ include/ kernel/ | +11 | 0 replies | |
| 14/33 | ftrace/x86: Tell objtool to ignore nondeterministic ftrace stack layoutarch/ arch/ | +19 | 0 replies | |
| 15/33 | ftrace: Add information on number of page groups allocatedkernel/ kernel/ kernel/ | +31 | 0 replies | |
| 16/33 | ftrace: Implement fs notification for tracing_max_latencykernel/ kernel/ kernel/ | +98 | 0 replies | |
| 17/33 | preemptirq_delay_test: Add the burst feature and a sysfs triggerkernel/ kernel/ | +128 | 0 replies | |
| 18/33 | tracing: Use CONFIG_PREEMPTIONDocumentation/ kernel/ | +3 | 0 replies | |
| 19/33 | tracing: Make internal ftrace events statickernel/ | +2 | 0 replies | |
| 20/33 | tracing: Declare newly exported APIs in include/linux/trace.hinclude/ kernel/ | +8 | 0 replies | |
| 21/33 | tracing: Verify if trace array exists before destroying it.kernel/ kernel/ | +17 | 0 replies | |
| 22/33 | tracing: Adding NULL checks for trace_array descriptor pointerkernel/ kernel/ | +5 | 0 replies | |
| 23/33 | fgraph: Fix function type mismatches of ftrace_graph_return using ftrace_stubarch/ include/ kernel/ | +27 | 0 replies | |
| 24/33 | tracing/selftests: Turn off timeout settingtools/ | +1 | 0 replies | |
| 25/33 | lib/sort: Move swap, cmp and cmp_r function types for wider useinclude/ include/ lib/ | +14 | 0 replies | |
| 26/33 | lib/bsearch: Use generic type for comparator functioninclude/ lib/ | +2 | 0 replies | |
| 27/33 | tracing: Use generic type for comparator functionkernel/ kernel/ kernel/ +1 more | +13 | 0 replies | |
| 28/33 | tracing/hwlat: Fix a few trivial nitskernel/ | +2 | 0 replies | |
| 29/33 | tracing: use kvcalloc for tgid_map array allocationkernel/ | +1 | 0 replies | |
| 30/33 | tracing/kprobe: Check whether the non-suffixed symbol is notracekernel/ | +24 | 0 replies | |
| 31/33 | seq_buf: Add printing formatted hex dumpsinclude/ lib/ | +65 | 0 replies | |
| 32/33 | tracing: Use seq_buf_hex_dump() to dump buffersinclude/ include/ include/ +2 more | +60 | 0 replies | |
| 33/33 | tracing: Remove stray tab in TRACE_EVAL_MAP_FILEs help textkernel/ | +2 | 0 replies |
Reviews trailers per patch
5 of 33 patches have a Reviewed-by or Acked-by.
| Patch | Petr Mladek | Kamalesh Babulal | Miroslav Benes | Aruna Ramakrishna | Joel Fernandes (Google) |
|---|---|---|---|---|---|
| 1/33 | R-b | R-b | |||
| 2/33 | |||||
| 3/33 | |||||
| 4/33 | |||||
| 5/33 | |||||
| 6/33 | |||||
| 7/33 | |||||
| 8/33 | |||||
| 9/33 | |||||
| 10/33 | |||||
| 11/33 | |||||
| 12/33 | |||||
| 13/33 | |||||
| 14/33 | |||||
| 15/33 | |||||
| 16/33 | R-b | ||||
| 17/33 | R-b | ||||
| 18/33 | |||||
| 19/33 | |||||
| 20/33 | |||||
| 21/33 | R-b | ||||
| 22/33 | |||||
| 23/33 | |||||
| 24/33 | T-b R-b | ||||
| 25/33 | |||||
| 26/33 | |||||
| 27/33 | |||||
| 28/33 | |||||
| 29/33 | |||||
| 30/33 | |||||
| 31/33 | |||||
| 32/33 | |||||
| 33/33 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [for-next][PATCH 00/33] tracing: Updates for 5.5
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
for-next
Head SHA1: 9b4712044d059e7842aaeeafd7c7a7ee88c589db
Andy Shevchenko (3):
lib/sort: Move swap, cmp and cmp_r function types for wider use lib/bsearch: Use generic type for comparator function
tracing: Use generic type for comparator function
Ben Dooks (1):
tracing: Make internal ftrace events static
Borislav Petkov (1):
tracing: Remove stray tab in TRACE_EVAL_MAP_FILE's help text
Divya Indi (3):
tracing: Declare newly exported APIs in include/linux/trace.h
tracing: Verify if trace array exists before destroying it.
tracing: Adding NULL checks for trace_array descriptor pointer
Joe Lawrence (2):
selftests/livepatch: Make dynamic debug setup and restore generic selftests/livepatch: Test interaction with ftrace_enabled
Josh Poimboeuf (1):
ftrace/x86: Tell objtool to ignore nondeterministic ftrace stack layout
Masami Hiramatsu (1):
tracing/kprobe: Check whether the non-suffixed symbol is notrace
Miroslav Benes (1):
ftrace: Introduce PERMANENT ftrace_ops flag
Piotr Maziarz (2):
seq_buf: Add printing formatted hex dumps
tracing: Use seq_buf_hex_dump() to dump buffers
Sebastian Andrzej Siewior (1):
tracing: Use CONFIG_PREEMPTION
Srivatsa S. Bhat (VMware) (1):
tracing/hwlat: Fix a few trivial nits
Steven Rostedt (VMware) (13):
ftrace: Separate out the copying of a ftrace_hash from __ftrace_hash_move()
ftrace: Separate out functionality from ftrace_location_range()
ftrace: Add register_ftrace_direct()
ftrace: Add ftrace_find_direct_func()
ftrace: Add sample module that uses register_ftrace_direct() ftrace/selftest: Add tests to test register_ftrace_direct()
ftrace: Add another example of register_ftrace_direct() use case ftrace/selftests: Update the direct call selftests to test two direct calls ftrace/x86: Add register_ftrace_direct() for custom trampolines ftrace/x86: Add a counter to test function_graph with direct
ftrace: Add information on number of page groups allocated
fgraph: Fix function type mismatches of ftrace_graph_return using ftrace_stub tracing/selftests: Turn off timeout setting
Viktor Rosendahl (BMW) (2):
ftrace: Implement fs notification for tracing_max_latency
preemptirq_delay_test: Add the burst feature and a sysfs trigger
Yuming Han (1):
tracing: use kvcalloc for tgid_map array allocation
----
Documentation/trace/ftrace-uses.rst | 10 +- Documentation/trace/ftrace.rst | 4 +- arch/sh/boot/compressed/misc.c | 5 + arch/x86/Kconfig | 1 + arch/x86/include/asm/ftrace.h | 13 + arch/x86/include/asm/unwind_hints.h | 8 + arch/x86/kernel/ftrace.c | 14 + arch/x86/kernel/ftrace_64.S | 42 +- include/asm-generic/vmlinux.lds.h | 17 +- include/linux/bsearch.h | 2 +- include/linux/ftrace.h | 53 ++- include/linux/seq_buf.h | 3 + include/linux/sort.h | 8 +- include/linux/trace.h | 7 + include/linux/trace_events.h | 5 + include/linux/trace_seq.h | 4 + include/linux/types.h | 5 + include/trace/trace_events.h | 6 + kernel/livepatch/patch.c | 3 +- kernel/module.c | 6 +- kernel/trace/Kconfig | 18 +- kernel/trace/fgraph.c | 11 +- kernel/trace/ftrace.c | 466 +++++++++++++++++++-- kernel/trace/preemptirq_delay_test.c | 144 ++++++- kernel/trace/trace.c | 118 +++++- kernel/trace/trace.h | 24 +- kernel/trace/trace_branch.c | 8 +- kernel/trace/trace_events.c | 2 + kernel/trace/trace_export.c | 4 +- kernel/trace/trace_hwlat.c | 15 +- kernel/trace/trace_kprobe.c | 27 +- kernel/trace/trace_output.c | 15 + kernel/trace/trace_seq.c | 30 ++ kernel/trace/trace_stat.c | 6 +- kernel/trace/trace_stat.h | 2 +- lib/bsearch.c | 2 +- lib/seq_buf.c | 62 +++ lib/sort.c | 15 +- samples/Kconfig | 8 + samples/Makefile | 1 + samples/ftrace/Makefile | 4 + samples/ftrace/ftrace-direct-too.c | 51 +++ samples/ftrace/ftrace-direct.c | 45 ++ tools/testing/selftests/ftrace/settings | 1 + .../ftrace/test.d/direct/ftrace-direct.tc | 69 +++ .../ftrace/test.d/direct/kprobe-direct.tc | 84 ++++ tools/testing/selftests/livepatch/Makefile | 3 +- tools/testing/selftests/livepatch/functions.sh | 34 +- .../testing/selftests/livepatch/test-callbacks.sh | 2 +- tools/testing/selftests/livepatch/test-ftrace.sh | 65 +++ .../testing/selftests/livepatch/test-livepatch.sh | 2 +- .../selftests/livepatch/test-shadow-vars.sh | 2 +- 52 files changed, 1410 insertions(+), 146 deletions(-) create mode 100644 samples/ftrace/Makefile create mode 100644 samples/ftrace/ftrace-direct-too.c create mode 100644 samples/ftrace/ftrace-direct.c create mode 100644 tools/testing/selftests/ftrace/settings create mode 100644 tools/testing/selftests/ftrace/test.d/direct/ftrace-direct.tc create mode 100644 tools/testing/selftests/ftrace/test.d/direct/kprobe-direct.tc create mode 100755 tools/testing/selftests/livepatch/test-ftrace.sh