Skip to content

tracing: Updates for 5.16

Steven Rostedt lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest40 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/40tracing: Initialize upper and lower vars in pid_list_refill_irq()kernel/trace/pid_list.c+2 -20 replies
2/40tracefs: Have tracefs directories not set OTH permission bits by defaultfs/tracefs/inode.c+2 -10 replies
3/40tracing: Disable "other" permission bits in the tracefs fileskernel/trace/ftrace.c kernel/trace/trace.c kernel/trace/trace.h +12 more+103 -960 replies
4/40ftrace: Cleanup ftrace_dyn_arch_init()arch/arm/kernel/ftrace.c arch/arm64/kernel/ftrace.c arch/csky/kernel/ftrace.c +10 more+5 -610 replies
5/40bootconfig: Allocate xbc_data inside xbc_init()include/linux/bootconfig.h init/main.c lib/bootconfig.c +1 more+27 -270 replies
6/40bootconfig: Add xbc_get_info() for the node informationinclude/linux/bootconfig.h init/main.c lib/bootconfig.c +1 more+25 -00 replies
7/40tools/bootconfig: Run test script when build alltools/bootconfig/Makefile+1 -10 replies
8/40bootconfig: Rename xbc_destroy_all() to xbc_exit()include/linux/bootconfig.h init/main.c lib/bootconfig.c +1 more+7 -70 replies
9/40bootconfig: Split parse-tree part from xbc_initlib/bootconfig.c+54 -450 replies
10/40bootconfig: Remove unused debug functioninclude/linux/bootconfig.h lib/bootconfig.c+0 -240 replies
11/40tools/bootconfig: Print all error message in stderrtools/bootconfig/include/linux/kernel.h tools/bootconfig/include/linux/printk.h tools/bootconfig/main.c+2 -160 replies
12/40bootconfig: Replace u16 and u32 with uint16_t and uint32_tinclude/linux/bootconfig.h lib/bootconfig.c tools/bootconfig/include/linux/kernel.h +1 more+25 -270 replies
13/40bootconfig: Cleanup dummy headers in tools/bootconfiginclude/linux/bootconfig.h lib/bootconfig.c tools/bootconfig/Makefile +8 more+93 -910 replies
14/40ftrace: Add unit test for removing trace functionkernel/trace/trace_selftest.c+34 -00 replies
15/40tracing: in_irq() cleanupkernel/trace/trace.h kernel/trace/trace_functions_graph.c+2 -20 replies
16/40tracing: Use linker magic instead of recasting ftrace_ops_list_func()include/asm-generic/vmlinux.lds.h include/linux/ftrace.h kernel/trace/ftrace.c+28 -170 replies
17/40tracing/cfi: Fix cmp_entries_* functions signature mismatchkernel/trace/tracing_map.c+23 -170 replies
18/40tracing: Reuse logic from perfs get_recursion_context()include/linux/trace_recursion.h kernel/trace/ring_buffer.c+12 -110 replies
19/40tracing/perf: Add interrupt_context_level() helperinclude/linux/preempt.h include/linux/trace_recursion.h kernel/events/internal.h +1 more+24 -180 replies
20/40x86/ftrace: Remove extra orig rax movearch/x86/kernel/ftrace_64.S+0 -10 replies
21/40x86/ftrace: Remove fault protection code in prepare_ftrace_returnarch/x86/kernel/ftrace.c+3 -350 replies
22/40ftrace/x86_64: Have function graph tracer depend on DYNAMIC_FTRACEarch/x86/Kconfig+1 -10 replies
23/40x86/ftrace: Make function graph use ftrace directlyarch/x86/include/asm/ftrace.h arch/x86/kernel/ftrace.c arch/x86/kernel/ftrace_64.S +2 more+55 -350 replies
24/40tracing: Add trampoline/graph selftestkernel/trace/trace_selftest.c+53 -10 replies
25/40tracing: Fix selftest config check for function graph start up testkernel/trace/trace_selftest.c+5 -10 replies
26/40ftrace: Add ftrace_add_rec_direct functionkernel/trace/ftrace.c+37 -270 replies
27/40ftrace: Add multi direct register/unregister interfaceinclude/linux/ftrace.h kernel/trace/ftrace.c+153 -00 replies
28/40ftrace: Add multi direct modify interfaceinclude/linux/ftrace.h kernel/trace/ftrace.c+68 -00 replies
29/40ftrace/samples: Add multi direct interface test modulesamples/ftrace/Makefile samples/ftrace/ftrace-direct-multi.c+53 -00 replies
30/40ftrace/direct: Do not disable when switching direct callerskernel/trace/ftrace.c+20 -140 replies
31/40tracing: Explain the trace recursion transition bit betterinclude/linux/trace_recursion.h+6 -20 replies
32/40tracing: use %ps format string to print symbolskernel/trace/trace_events_hist.c+5 -100 replies
33/40kprobes: convert tests to kunitkernel/kprobes.c kernel/test_kprobes.c lib/Kconfig.debug+61 -1670 replies
34/40x86/unwind: Compile kretprobe fixup code only if CONFIG_KRETPROBES=yarch/x86/include/asm/unwind.h+6 -00 replies
35/40arm64: kprobes: Record frame pointer with kretprobe instancearch/arm64/kernel/probes/kprobes.c+2 -20 replies
36/40arm64: kprobes: Make a frame pointer on __kretprobe_trampolinearch/arm64/kernel/probes/kprobes_trampoline.S+4 -00 replies
37/40arm64: Recover kretprobe modified return address in stacktracearch/arm64/Kconfig arch/arm64/include/asm/stacktrace.h arch/arm64/kernel/stacktrace.c+12 -00 replies
38/40ARM: clang: Do not rely on lr register for stacktracearch/arm/kernel/stacktrace.c+1 -20 replies
39/40ARM: kprobes: Make a frame pointer on __kretprobe_trampolinearch/arm/probes/kprobes/core.c+24 -40 replies
40/40ARM: Recover kretprobe modified return address in stacktracearch/arm/Kconfig arch/arm/include/asm/stacktrace.h arch/arm/kernel/return_address.c +1 more+28 -00 replies

Reviews trailers per patch

11 of 40 patches have a Reviewed-by or Acked-by.

PatchHeiko CarstensHelge DellerPetr MladekOscar CarterJiri OlsaTom ZanussiWill DeaconMark RutlandNick DesaulniersMasami Hiramatsu
1/40
2/40
3/40
4/40A-b A-b
5/40
6/40
7/40
8/40
9/40
10/40
11/40
12/40
13/40
14/40
15/40R-b
16/40Requested-by
17/40
18/40
19/40
20/40
21/40
22/40
23/40
24/40
25/40A-b
26/40
27/40
28/40
29/40
30/40A-b
31/40
32/40R-b T-b
33/40A-b
34/40
35/40A-b A-b
36/40A-b
37/40A-b
38/40R-b
39/40R-b
40/40

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 10 reviewers.

Read the v1 thread

Cover letter [for-next][PATCH 00/40] tracing: Updates for 5.16

Finally, this code now passes all my tests!

git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
for-next

Head SHA1: fed240d9c9743815fcbc0ca5c0913292ce1f25e2

Arnd Bergmann (1):
tracing: use %ps format string to print symbols

Carles Pey (1):
ftrace: Add unit test for removing trace function

Changbin Du (1):
tracing: in_irq() cleanup

Jiri Olsa (6):
x86/ftrace: Remove extra orig rax move
tracing: Add trampoline/graph selftest
ftrace: Add ftrace_add_rec_direct function
ftrace: Add multi direct register/unregister interface
ftrace: Add multi direct modify interface ftrace/samples: Add multi direct interface test module

Kalesh Singh (1):
tracing/cfi: Fix cmp_entries_* functions signature mismatch

Masami Hiramatsu (16):
bootconfig: Allocate xbc_data inside xbc_init()
bootconfig: Add xbc_get_info() for the node information tools/bootconfig: Run test script when build all
bootconfig: Rename xbc_destroy_all() to xbc_exit()
bootconfig: Split parse-tree part from xbc_init
bootconfig: Remove unused debug function tools/bootconfig: Print all error message in stderr
bootconfig: Replace u16 and u32 with uint16_t and uint32_t
bootconfig: Cleanup dummy headers in tools/bootconfig x86/unwind: Compile kretprobe fixup code only if CONFIG_KRETPROBES=y
arm64: kprobes: Record frame pointer with kretprobe instance
arm64: kprobes: Make a frame pointer on __kretprobe_trampoline
arm64: Recover kretprobe modified return address in stacktrace
ARM: clang: Do not rely on lr register for stacktrace
ARM: kprobes: Make a frame pointer on __kretprobe_trampoline
ARM: Recover kretprobe modified return address in stacktrace

Steven Rostedt (VMware) (12):
tracing: Initialize upper and lower vars in pid_list_refill_irq()
tracefs: Have tracefs directories not set OTH permission bits by default
tracing: Disable "other" permission bits in the tracefs files
tracing: Use linker magic instead of recasting ftrace_ops_list_func()
tracing: Reuse logic from perf's get_recursion_context() tracing/perf: Add interrupt_context_level() helper x86/ftrace: Remove fault protection code in prepare_ftrace_return ftrace/x86_64: Have function graph tracer depend on DYNAMIC_FTRACE x86/ftrace: Make function graph use ftrace directly
tracing: Fix selftest config check for function graph start up test ftrace/direct: Do not disable when switching direct callers
tracing: Explain the trace recursion transition bit better

Sven Schnelle (1):
kprobes: convert tests to kunit

Weizhao Ouyang (1):
ftrace: Cleanup ftrace_dyn_arch_init()

----

 arch/arm/Kconfig                              |   1 +
 arch/arm/include/asm/stacktrace.h             |   9 +
 arch/arm/kernel/ftrace.c                      |   5 -
 arch/arm/kernel/return_address.c              |   4 +
 arch/arm/kernel/stacktrace.c                  |  17 +-
 arch/arm/probes/kprobes/core.c                |  28 ++-
 arch/arm64/Kconfig                            |   1 +
 arch/arm64/include/asm/stacktrace.h           |   4 +
 arch/arm64/kernel/ftrace.c                    |   5 -
 arch/arm64/kernel/probes/kprobes.c            |   4 +-
 arch/arm64/kernel/probes/kprobes_trampoline.S |   4 +
 arch/arm64/kernel/stacktrace.c                |   7 +
 arch/csky/kernel/ftrace.c                     |   5 -
 arch/ia64/kernel/ftrace.c                     |   6 -
 arch/microblaze/kernel/ftrace.c               |   5 -
 arch/nds32/kernel/ftrace.c                    |   5 -
 arch/parisc/kernel/ftrace.c                   |   5 -
 arch/riscv/kernel/ftrace.c                    |   5 -
 arch/s390/kernel/ftrace.c                     |   5 -
 arch/sh/kernel/ftrace.c                       |   5 -
 arch/sparc/kernel/ftrace.c                    |   5 -
 arch/x86/Kconfig                              |   2 +-
 arch/x86/include/asm/ftrace.h                 |   9 +-
 arch/x86/include/asm/unwind.h                 |   6 +
 arch/x86/kernel/ftrace.c                      |  76 +++---
 arch/x86/kernel/ftrace_64.S                   |  30 +--
 fs/tracefs/inode.c                            |   3 +-
 include/asm-generic/vmlinux.lds.h             |  10 +-
 include/linux/bootconfig.h                    |  31 ++-
 include/linux/ftrace.h                        |  38 ++-
 include/linux/preempt.h                       |  21 ++
 include/linux/trace_recursion.h               |  16 +-
 init/main.c                                   |  16 +-
 kernel/events/internal.h                      |   7 +-
 kernel/kprobes.c                              |   3 -
 kernel/test_kprobes.c                         | 222 +++++-------------
 kernel/trace/fgraph.c                         |   6 +-
 kernel/trace/ftrace.c                         | 325 ++++++++++++++++++++++----
 kernel/trace/pid_list.c                       |   4 +-
 kernel/trace/ring_buffer.c                    |   9 +-
 kernel/trace/trace.c                          |  73 +++---
 kernel/trace/trace.h                          |   5 +-
 kernel/trace/trace_dynevent.c                 |   2 +-
 kernel/trace/trace_events.c                   |  42 ++--
 kernel/trace/trace_events_hist.c              |  15 +-
 kernel/trace/trace_events_synth.c             |   4 +-
 kernel/trace/trace_functions_graph.c          |   4 +-
 kernel/trace/trace_hwlat.c                    |   6 +-
 kernel/trace/trace_kprobe.c                   |   8 +-
 kernel/trace/trace_osnoise.c                  |  14 +-
 kernel/trace/trace_printk.c                   |   2 +-
 kernel/trace/trace_recursion_record.c         |   4 +-
 kernel/trace/trace_selftest.c                 |  92 +++++++-
 kernel/trace/trace_stack.c                    |   6 +-
 kernel/trace/trace_stat.c                     |   6 +-
 kernel/trace/trace_uprobe.c                   |   4 +-
 kernel/trace/tracing_map.c                    |  40 ++--
 lib/Kconfig.debug                             |   3 +-
 lib/bootconfig.c                              | 231 +++++++++++-------
 samples/ftrace/Makefile                       |   1 +
 samples/ftrace/ftrace-direct-multi.c          |  52 +++++
 tools/bootconfig/Makefile                     |   4 +-
 tools/bootconfig/include/linux/bootconfig.h   |  45 +++-
 tools/bootconfig/include/linux/bug.h          |  12 -
 tools/bootconfig/include/linux/ctype.h        |   7 -
 tools/bootconfig/include/linux/errno.h        |   7 -
 tools/bootconfig/include/linux/kernel.h       |  18 --
 tools/bootconfig/include/linux/memblock.h     |  11 -
 tools/bootconfig/include/linux/printk.h       |  14 --
 tools/bootconfig/include/linux/string.h       |  32 ---
 tools/bootconfig/main.c                       |  32 +--
 71 files changed, 1033 insertions(+), 732 deletions(-)
 create mode 100644 samples/ftrace/ftrace-direct-multi.c
 delete mode 100644 tools/bootconfig/include/linux/bug.h
 delete mode 100644 tools/bootconfig/include/linux/ctype.h
 delete mode 100644 tools/bootconfig/include/linux/errno.h
 delete mode 100644 tools/bootconfig/include/linux/kernel.h
 delete mode 100644 tools/bootconfig/include/linux/memblock.h
 delete mode 100644 tools/bootconfig/include/linux/printk.h
 delete mode 100644 tools/bootconfig/include/linux/string.h