Skip to content

tracing: Updates for 5.5

Steven Rostedt linux-sh lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest33 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/33ftrace: Introduce PERMANENT ftrace_ops flagDocumentation/trace/ftrace-uses.rst Documentation/trace/ftrace.rst include/linux/ftrace.h +2 more+37 -40 replies
2/33selftests/livepatch: Make dynamic debug setup and restore generictools/testing/selftests/livepatch/functions.sh tools/testing/selftests/livepatch/test-callbacks.sh tools/testing/selftests/livepatch/test-livepatch.sh +1 more+16 -120 replies
3/33selftests/livepatch: Test interaction with ftrace_enabledtools/testing/selftests/livepatch/Makefile tools/testing/selftests/livepatch/functions.sh tools/testing/selftests/livepatch/test-ftrace.sh+80 -20 replies
4/33ftrace: Separate out the copying of a ftrace_hash from __ftrace_hash_move()kernel/trace/ftrace.c+17 -120 replies
5/33ftrace: Separate out functionality from ftrace_location_range()kernel/trace/ftrace.c+23 -150 replies
6/33ftrace: Add register_ftrace_direct()include/linux/ftrace.h kernel/trace/Kconfig kernel/trace/ftrace.c+306 -70 replies
7/33ftrace: Add ftrace_find_direct_func()include/linux/ftrace.h kernel/trace/ftrace.c+84 -10 replies
8/33ftrace: Add sample module that uses register_ftrace_direct()samples/Kconfig samples/Makefile samples/ftrace/Makefile +1 more+57 -00 replies
9/33ftrace/selftest: Add tests to test register_ftrace_direct()tools/testing/selftests/ftrace/test.d/direct/ftrace-direct.tc tools/testing/selftests/ftrace/test.d/direct/kprobe-direct.tc+124 -00 replies
10/33ftrace: Add another example of register_ftrace_direct() use casesamples/ftrace/Makefile samples/ftrace/ftrace-direct-too.c+52 -00 replies
11/33ftrace/selftests: Update the direct call selftests to test two direct callstools/testing/selftests/ftrace/test.d/direct/ftrace-direct.tc tools/testing/selftests/ftrace/test.d/direct/kprobe-direct.tc+52 -230 replies
12/33ftrace/x86: Add register_ftrace_direct() for custom trampolinesarch/x86/Kconfig arch/x86/include/asm/ftrace.h arch/x86/kernel/ftrace.c +2 more+59 -70 replies
13/33ftrace/x86: Add a counter to test function_graph with directarch/x86/kernel/ftrace.c include/linux/ftrace.h kernel/trace/ftrace.c+11 -30 replies
14/33ftrace/x86: Tell objtool to ignore nondeterministic ftrace stack layoutarch/x86/include/asm/unwind_hints.h arch/x86/kernel/ftrace_64.S+19 -10 replies
15/33ftrace: Add information on number of page groups allocatedkernel/trace/ftrace.c kernel/trace/trace.c kernel/trace/trace.h+31 -60 replies
16/33ftrace: Implement fs notification for tracing_max_latencykernel/trace/trace.c kernel/trace/trace.h kernel/trace/trace_hwlat.c+98 -60 replies
17/33preemptirq_delay_test: Add the burst feature and a sysfs triggerkernel/trace/Kconfig kernel/trace/preemptirq_delay_test.c+128 -220 replies
18/33tracing: Use CONFIG_PREEMPTIONDocumentation/trace/ftrace-uses.rst kernel/trace/trace.c+3 -10 replies
19/33tracing: Make internal ftrace events statickernel/trace/trace_export.c+2 -20 replies
20/33tracing: Declare newly exported APIs in include/linux/trace.hinclude/linux/trace.h kernel/trace/trace.h+8 -30 replies
21/33tracing: Verify if trace array exists before destroying it.kernel/module.c kernel/trace/trace.c+17 -40 replies
22/33tracing: Adding NULL checks for trace_array descriptor pointerkernel/trace/trace.c kernel/trace/trace_events.c+5 -00 replies
23/33fgraph: Fix function type mismatches of ftrace_graph_return using ftrace_stubarch/sh/boot/compressed/misc.c include/asm-generic/vmlinux.lds.h kernel/trace/fgraph.c+27 -60 replies
24/33tracing/selftests: Turn off timeout settingtools/testing/selftests/ftrace/settings+1 -00 replies
25/33lib/sort: Move swap, cmp and cmp_r function types for wider useinclude/linux/sort.h include/linux/types.h lib/sort.c+14 -140 replies
26/33lib/bsearch: Use generic type for comparator functioninclude/linux/bsearch.h lib/bsearch.c+2 -20 replies
27/33tracing: Use generic type for comparator functionkernel/trace/ftrace.c kernel/trace/trace_branch.c kernel/trace/trace_stat.c +1 more+13 -150 replies
28/33tracing/hwlat: Fix a few trivial nitskernel/trace/trace_hwlat.c+2 -20 replies
29/33tracing: use kvcalloc for tgid_map array allocationkernel/trace/trace.c+1 -10 replies
30/33tracing/kprobe: Check whether the non-suffixed symbol is notracekernel/trace/trace_kprobe.c+24 -30 replies
31/33seq_buf: Add printing formatted hex dumpsinclude/linux/seq_buf.h lib/seq_buf.c+65 -00 replies
32/33tracing: Use seq_buf_hex_dump() to dump buffersinclude/linux/trace_events.h include/linux/trace_seq.h include/trace/trace_events.h +2 more+60 -00 replies
33/33tracing: Remove stray tab in TRACE_EVAL_MAP_FILEs help textkernel/trace/Kconfig+2 -20 replies

Reviews trailers per patch

5 of 33 patches have a Reviewed-by or Acked-by.

PatchPetr MladekKamalesh BabulalMiroslav BenesAruna RamakrishnaJoel Fernandes (Google)
1/33R-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/33R-b
17/33R-b
18/33
19/33
20/33
21/33R-b
22/33
23/33
24/33T-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.

Read the v1 thread

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