Skip to content

tracing: Updates for v7.3

Steven Rostedt lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16bpf: Make btf_get_module_btf() and btf_relocate_id() non-staticinclude/linux/btf.h kernel/bpf/btf.c+4 -20 replies
2/16tracing: Expose tracepoint BTF ids via tracefsinclude/linux/trace_events.h include/trace/trace_events.h kernel/trace/trace_events.c +1 more+129 -10 replies
3/16selftests/bpf: Add test for tracepoint btf_ids tracefs filetools/testing/selftests/bpf/prog_tests/tp_btf_ids.c+132 -00 replies
4/16tracing: Point constant hist field type to string literalkernel/trace/trace_events_hist.c+1 -30 replies
5/16kernel/trace/trace_printk: Use kstrdup() instead of kmalloc() and strcpy()kernel/trace/trace_printk.c+1 -20 replies
6/16tracing: Use __free() for expr_str() bufferkernel/trace/trace_events_hist.c+6 -80 replies
7/16tracing: Return ERR_PTR() from expr_str()kernel/trace/trace_events_hist.c+20 -50 replies
8/16tracing: Bound histogram expression strings with seq_bufkernel/trace/trace_events_hist.c+33 -240 replies
9/16tracing/user_events: Use seq_putc() in two functionskernel/trace/trace_events_user.c+4 -40 replies
10/16tracing/user_events: Replace a seq_printf() call by seq_puts() in user_seq_show()kernel/trace/trace_events_user.c+1 -10 replies
11/16fgraph: Use trace_seq_putc() in print_graph_return()kernel/trace/trace_functions_graph.c+1 -10 replies
12/16tracing: Reject invalid preemptirq_delay_test CPU affinitykernel/trace/preemptirq_delay_test.c+9 -00 replies
13/16samples/ftrace: Prevent division by zero when nr_function_calls is zerosamples/ftrace/ftrace-ops.c+1 -10 replies
14/16tracing: Warn when an event dereferences a pointer in TP_printk()kernel/trace/trace_events.c+29 -60 replies
15/16tracing: Use strscpy() instead of strcpy() in trace_sched_switchkernel/trace/trace_sched_switch.c+3 -30 replies
16/16tracing: Use seq_buf for string concatenationkernel/trace/trace_events.c+13 -30 replies

Reviews trailers per patch

3 of 16 patches have a Reviewed-by or Acked-by.

PatchMasami Hiramatsu (Google)Martin KaiserVinod Koul
1/16
2/16
3/16
4/16A-b
5/16R-b
6/16
7/16
8/16
9/16
10/16
11/16
12/16
13/16
14/16R-b R-b
15/16
16/16

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/16] tracing: Updates for v7.3

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

Head SHA1: efdcfd9b4f4f07aa70663ee02a79dbdf980bf582

David Laight (1):
kernel/trace/trace_printk: Use kstrdup() instead of kmalloc() and strcpy()

Markus Elfring (3):
tracing/user_events: Use seq_putc() in two functions tracing/user_events: Replace a seq_printf() call by seq_puts() in user_seq_show()
fgraph: Use trace_seq_putc() in print_graph_return()

Mykyta Yatsenko (3):
bpf: Make btf_get_module_btf() and btf_relocate_id() non-static
tracing: Expose tracepoint BTF ids via tracefs selftests/bpf: Add test for tracepoint btf_ids tracefs file

Pengpeng Hou (3):
tracing: Use __free() for expr_str() buffer
tracing: Return ERR_PTR() from expr_str()
tracing: Bound histogram expression strings with seq_buf

Po-Sheng Lin (1):
tracing: Use strscpy() instead of strcpy() in trace_sched_switch

Samuel Moelius (2):
tracing: Reject invalid preemptirq_delay_test CPU affinity samples/ftrace: Prevent division by zero when nr_function_calls is zero

Steven Rostedt (1):
tracing: Warn when an event dereferences a pointer in TP_printk()

Woradorn Laodhanadhaworn (1):
tracing: Use seq_buf for string concatenation

Yu Peng (1):
tracing: Point constant hist field type to string literal

----

 include/linux/btf.h                                |   2 +
 include/linux/trace_events.h                       |   9 ++
 include/trace/trace_events.h                       |  24 ++++
 kernel/bpf/btf.c                                   |   4 +-
 kernel/trace/preemptirq_delay_test.c               |   9 ++
 kernel/trace/trace_events.c                        | 131 ++++++++++++++++++--
 kernel/trace/trace_events_hist.c                   |  96 +++++++++------
 kernel/trace/trace_events_user.c                   |  10 +-
 kernel/trace/trace_functions_graph.c               |   2 +-
 kernel/trace/trace_printk.c                        |   3 +-
 kernel/trace/trace_sched_switch.c                  |   6 +-
 kernel/trace/trace_syscalls.c                      |  17 +++
 samples/ftrace/ftrace-ops.c                        |   2 +-
 .../testing/selftests/bpf/prog_tests/tp_btf_ids.c  | 132 +++++++++++++++++++++
 14 files changed, 385 insertions(+), 62 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/prog_tests/tp_btf_ids.c