Skip to content

tracing: Final updates for 5.17

Steven Rostedt linux-rt-users linux-trace-devel lkml llvm stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest31 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/31tracing: Change event_command func() to parse()kernel/trace/trace.h kernel/trace/trace_eprobe.c kernel/trace/trace_events_hist.c +1 more+44 -390 replies
2/31tracing: Change event_trigger_ops func() to trigger()kernel/trace/trace.h kernel/trace/trace_eprobe.c kernel/trace/trace_events_hist.c +1 more+37 -260 replies
3/31tracing: Remove ops param from event_command reg()/unreg() callbackskernel/trace/trace.h kernel/trace/trace_eprobe.c kernel/trace/trace_events_hist.c +1 more+20 -280 replies
4/31tracing: Add helper functions to simplify event_command.parse() callback handlingkernel/trace/trace.h kernel/trace/trace_events_trigger.c+366 -00 replies
5/31tracing: Have existing event_command.parse() implementations use helperskernel/trace/trace.h kernel/trace/trace_eprobe.c kernel/trace/trace_events_hist.c +1 more+86 -1884 replies
6/31tracing: Remove redundant trigger_ops paramskernel/trace/trace.h kernel/trace/trace_eprobe.c kernel/trace/trace_events_hist.c +1 more+36 -600 replies
7/31tracing: Account bottom half disabled sections.include/linux/trace_events.h kernel/trace/trace.c kernel/trace/trace_output.c+9 -20 replies
8/31tracing/uprobes: Check the return value of kstrdup() for tu->filenamekernel/trace/trace_uprobe.c+5 -00 replies
9/31tracing/probes: check the return value of kstrndup() for pbufkernel/trace/trace_probe.c+2 -00 replies
10/31scripts: ftrace - move the sort-processing in ftrace_initkernel/trace/ftrace.c scripts/Makefile scripts/link-vmlinux.sh +2 more+137 -87 replies
11/31ftrace: Add test to make sure compiled time sorts workkernel/trace/Kconfig kernel/trace/ftrace.c+37 -00 replies
12/31tracing: Fix mismatched comment in __string_lensamples/trace_events/trace-events-sample.h+1 -10 replies
13/31tracing: Have syscall trace events use trace_event_buffer_lock_reserve()kernel/trace/trace_syscalls.c+2 -40 replies
14/31tracing: Add test for user space strings when filtering on string pointersDocumentation/trace/events.rst kernel/trace/trace_events_filter.c+66 -30 replies
15/31tracing/kprobes: nmissed not showed correctly for kretprobekernel/trace/trace_kprobe.c+4 -10 replies
16/31rtla: Real-Time Linux Analysis tooltools/tracing/rtla/Makefile tools/tracing/rtla/README.txt tools/tracing/rtla/src/rtla.c+184 -07 replies
17/31rtla: Helper functions for rtlatools/tracing/rtla/src/trace.c tools/tracing/rtla/src/trace.h tools/tracing/rtla/src/utils.c +1 more+708 -00 replies
18/31rtla: Add osnoise tooltools/tracing/rtla/Makefile tools/tracing/rtla/src/osnoise.c tools/tracing/rtla/src/osnoise.h +1 more+1120 -00 replies
19/31rtla/osnoise: Add osnoise top modetools/tracing/rtla/src/osnoise_top.c+577 -00 replies
20/31rtla/osnoise: Add the hist modetools/tracing/rtla/src/osnoise.c tools/tracing/rtla/src/osnoise.h tools/tracing/rtla/src/osnoise_hist.c+805 -10 replies
21/31rtla: Add timerlat tool and timelart top modetools/tracing/rtla/Makefile tools/tracing/rtla/src/rtla.c tools/tracing/rtla/src/timerlat.c +2 more+694 -00 replies
22/31rtla/timerlat: Add timerlat hist modetools/tracing/rtla/src/timerlat.c tools/tracing/rtla/src/timerlat.h tools/tracing/rtla/src/timerlat_hist.c+826 -20 replies
23/31rtla: Add DocumentationDocumentation/tools/rtla/Makefile Documentation/tools/rtla/common_appendix.rst Documentation/tools/rtla/rtla.rst +1 more+127 -40 replies
24/31rtla: Add rtla osnoise man pageDocumentation/tools/rtla/common_osnoise_description.rst Documentation/tools/rtla/rtla-osnoise.rst+67 -00 replies
25/31rtla: Add rtla osnoise top documentationDocumentation/tools/rtla/common_options.rst Documentation/tools/rtla/common_osnoise_options.rst Documentation/tools/rtla/common_top_options.rst +1 more+105 -00 replies
26/31rtla: Add rtla osnoise hist documentationDocumentation/tools/rtla/common_hist_options.rst Documentation/tools/rtla/rtla-osnoise-hist.rst+89 -00 replies
27/31rtla: Add rtla timerlat documentationDocumentation/tools/rtla/common_timerlat_description.rst Documentation/tools/rtla/rtla-timerlat.rst+67 -00 replies
28/31rtla: Add rtla timerlat top documentationDocumentation/tools/rtla/common_timerlat_options.rst Documentation/tools/rtla/rtla-timerlat-top.rst+161 -00 replies
29/31rtla: Add rtla timerlat hist documentationDocumentation/tools/rtla/rtla-timerlat-hist.rst+106 -00 replies
30/31tracing: Remove duplicate warnings when calling trace_create_file()kernel/trace/trace_events.c+3 -90 replies
31/31tracing/osnoise: Properly unhook events if start_per_cpu_kthreads() failskernel/trace/trace_osnoise.c+16 -40 replies

Reviews trailers per patch

7 of 31 patches have a Reviewed-by or Acked-by.

PatchMasami HiramatsuDaniel Bristot de OliveiraNathan Chancellor
1/31
2/31
3/31
4/31
5/31
6/31
7/31
8/31A-b
9/31A-b
10/31R-b T-b T-b R-b
11/31
12/31R-b
13/31R-b
14/31
15/31A-b
16/31
17/31
18/31
19/31
20/31
21/31
22/31
23/31
24/31
25/31
26/31
27/31
28/31
29/31
30/31
31/31A-b

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

Read the v1 thread

Cover letter [for-next][PATCH 00/31] tracing: Final updates for 5.17

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

Head SHA1: 0a85bdad9ae1c5f68d83e16433f4b88c264843b2

Daniel Bristot de Oliveira (14):
rtla: Real-Time Linux Analysis tool
rtla: Helper functions for rtla
rtla: Add osnoise tool
rtla/osnoise: Add osnoise top mode rtla/osnoise: Add the hist mode
rtla: Add timerlat tool and timelart top mode rtla/timerlat: Add timerlat hist mode
rtla: Add Documentation
rtla: Add rtla osnoise man page
rtla: Add rtla osnoise top documentation
rtla: Add rtla osnoise hist documentation
rtla: Add rtla timerlat documentation
rtla: Add rtla timerlat top documentation
rtla: Add rtla timerlat hist documentation

Geliang Tang (1):
tracing: Fix mismatched comment in __string_len

Nikita Yushchenko (1):
tracing/osnoise: Properly unhook events if start_per_cpu_kthreads() fails

Sebastian Andrzej Siewior (1):
tracing: Account bottom half disabled sections.

Steven Rostedt (2):
tracing: Have syscall trace events use trace_event_buffer_lock_reserve()
tracing: Add test for user space strings when filtering on string pointers

Steven Rostedt (VMware) (1):
ftrace: Add test to make sure compiled time sorts work

Tom Zanussi (6):
tracing: Change event_command func() to parse()
tracing: Change event_trigger_ops func() to trigger()
tracing: Remove ops param from event_command reg()/unreg() callbacks
tracing: Add helper functions to simplify event_command.parse() callback handling
tracing: Have existing event_command.parse() implementations use helpers
tracing: Remove redundant trigger_ops params

Xiangyang Zhang (1):
tracing/kprobes: 'nmissed' not showed correctly for kretprobe

Xiaoke Wang (2):
tracing/uprobes: Check the return value of kstrdup() for tu->filename tracing/probes: check the return value of kstrndup() for pbuf

Yinan Liu (1):
scripts: ftrace - move the sort-processing in ftrace_init

Yuntao Wang (1):
tracing: Remove duplicate warnings when calling trace_create_file()

----

 Documentation/tools/rtla/Makefile                  |   41 +
 Documentation/tools/rtla/common_appendix.rst       |   12 +
 Documentation/tools/rtla/common_hist_options.rst   |   23 +
 Documentation/tools/rtla/common_options.rst        |   24 +
 .../tools/rtla/common_osnoise_description.rst      |    8 +
 .../tools/rtla/common_osnoise_options.rst          |   17 +
 .../tools/rtla/common_timerlat_description.rst     |   10 +
 .../tools/rtla/common_timerlat_options.rst         |   16 +
 Documentation/tools/rtla/common_top_options.rst    |    3 +
 Documentation/tools/rtla/rtla-osnoise-hist.rst     |   66 ++
 Documentation/tools/rtla/rtla-osnoise-top.rst      |   61 ++
 Documentation/tools/rtla/rtla-osnoise.rst          |   59 ++
 Documentation/tools/rtla/rtla-timerlat-hist.rst    |  106 ++
 Documentation/tools/rtla/rtla-timerlat-top.rst     |  145 +++
 Documentation/tools/rtla/rtla-timerlat.rst         |   57 ++
 Documentation/tools/rtla/rtla.rst                  |   48 +
 Documentation/trace/events.rst                     |   10 +
 include/linux/trace_events.h                       |    1 +
 kernel/trace/Kconfig                               |   14 +
 kernel/trace/ftrace.c                              |   34 +-
 kernel/trace/trace.c                               |    6 +-
 kernel/trace/trace.h                               |   81 +-
 kernel/trace/trace_eprobe.c                        |   30 +-
 kernel/trace/trace_events.c                        |   12 +-
 kernel/trace/trace_events_filter.c                 |   59 +-
 kernel/trace/trace_events_hist.c                   |  147 ++-
 kernel/trace/trace_events_trigger.c                |  626 ++++++++----
 kernel/trace/trace_kprobe.c                        |    5 +-
 kernel/trace/trace_osnoise.c                       |   20 +-
 kernel/trace/trace_output.c                        |    4 +
 kernel/trace/trace_probe.c                         |    2 +
 kernel/trace/trace_syscalls.c                      |    6 +-
 kernel/trace/trace_uprobe.c                        |    5 +
 samples/trace_events/trace-events-sample.h         |    2 +-
 scripts/Makefile                                   |    6 +-
 scripts/link-vmlinux.sh                            |    6 +-
 scripts/sorttable.c                                |    2 +
 scripts/sorttable.h                                |  120 ++-
 tools/tracing/rtla/Makefile                        |  102 ++
 tools/tracing/rtla/README.txt                      |   36 +
 tools/tracing/rtla/src/osnoise.c                   | 1017 ++++++++++++++++++++
 tools/tracing/rtla/src/osnoise.h                   |   96 ++
 tools/tracing/rtla/src/osnoise_hist.c              |  799 +++++++++++++++
 tools/tracing/rtla/src/osnoise_top.c               |  577 +++++++++++
 tools/tracing/rtla/src/rtla.c                      |   87 ++
 tools/tracing/rtla/src/timerlat.c                  |   72 ++
 tools/tracing/rtla/src/timerlat.h                  |    4 +
 tools/tracing/rtla/src/timerlat_hist.c             |  820 ++++++++++++++++
 tools/tracing/rtla/src/timerlat_top.c              |  615 ++++++++++++
 tools/tracing/rtla/src/trace.c                     |  192 ++++
 tools/tracing/rtla/src/trace.h                     |   27 +
 tools/tracing/rtla/src/utils.c                     |  433 +++++++++
 tools/tracing/rtla/src/utils.h                     |   56 ++
 53 files changed, 6477 insertions(+), 350 deletions(-)
 create mode 100644 Documentation/tools/rtla/Makefile
 create mode 100644 Documentation/tools/rtla/common_appendix.rst
 create mode 100644 Documentation/tools/rtla/common_hist_options.rst
 create mode 100644 Documentation/tools/rtla/common_options.rst
 create mode 100644 Documentation/tools/rtla/common_osnoise_description.rst
 create mode 100644 Documentation/tools/rtla/common_osnoise_options.rst
 create mode 100644 Documentation/tools/rtla/common_timerlat_description.rst
 create mode 100644 Documentation/tools/rtla/common_timerlat_options.rst
 create mode 100644 Documentation/tools/rtla/common_top_options.rst
 create mode 100644 Documentation/tools/rtla/rtla-osnoise-hist.rst
 create mode 100644 Documentation/tools/rtla/rtla-osnoise-top.rst
 create mode 100644 Documentation/tools/rtla/rtla-osnoise.rst
 create mode 100644 Documentation/tools/rtla/rtla-timerlat-hist.rst
 create mode 100644 Documentation/tools/rtla/rtla-timerlat-top.rst
 create mode 100644 Documentation/tools/rtla/rtla-timerlat.rst
 create mode 100644 Documentation/tools/rtla/rtla.rst
 create mode 100644 tools/tracing/rtla/Makefile
 create mode 100644 tools/tracing/rtla/README.txt
 create mode 100644 tools/tracing/rtla/src/osnoise.c
 create mode 100644 tools/tracing/rtla/src/osnoise.h
 create mode 100644 tools/tracing/rtla/src/osnoise_hist.c
 create mode 100644 tools/tracing/rtla/src/osnoise_top.c
 create mode 100644 tools/tracing/rtla/src/rtla.c
 create mode 100644 tools/tracing/rtla/src/timerlat.c
 create mode 100644 tools/tracing/rtla/src/timerlat.h
 create mode 100644 tools/tracing/rtla/src/timerlat_hist.c
 create mode 100644 tools/tracing/rtla/src/timerlat_top.c
 create mode 100644 tools/tracing/rtla/src/trace.c
 create mode 100644 tools/tracing/rtla/src/trace.h
 create mode 100644 tools/tracing/rtla/src/utils.c
 create mode 100644 tools/tracing/rtla/src/utils.h