Skip to content

tracing: Updates coming for 5.6 rc release

Steven Rostedt lkml stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15tracing: Make sure synth_event_trace() example always uses u64kernel/trace/synth_event_gen_test.c+17 -170 replies
2/15tracing: Make synth_event trace functions endian-correctkernel/trace/trace_events_hist.c+58 -40 replies
3/15tracing: Check that number of vals matches number of synth event fieldskernel/trace/trace_events_hist.c+12 -20 replies
4/15tracing: Fix number printing bug in print_synth_event()kernel/trace/trace_events_hist.c+29 -30 replies
5/15tracing: Have synthetic event test use raw_smp_processor_id()kernel/trace/synth_event_gen_test.c+6 -60 replies
6/15tracing: Disable trace_printk() on post poned testskernel/trace/trace.c+2 -00 replies
7/15bootconfig: Mark boot_config_checksum() staticinit/main.c+1 -10 replies
8/15tracing: Clear trace_state when starting tracekernel/trace/trace_events_hist.c+2 -20 replies
9/15bootconfig: Set CONFIG_BOOT_CONFIG=n by defaultinit/Kconfig init/main.c kernel/trace/Kconfig+10 -20 replies
10/15bootconfig: Add bootconfig magic word for indicating bootconfig explicitlyDocumentation/admin-guide/bootconfig.rst include/linux/bootconfig.h init/Kconfig +3 more+49 -170 replies
11/15tools/bootconfig: Remove unneeded error message silencertools/bootconfig/include/linux/printk.h tools/bootconfig/main.c+1 -120 replies
12/15bootconfig: Reject subkey and value on same parent keyDocumentation/admin-guide/bootconfig.rst lib/bootconfig.c tools/bootconfig/samples/bad-mixed-kv1.bconf +1 more+25 -40 replies
13/15bootconfig: Print array as multiple commands for legacy command lineinit/main.c+8 -140 replies
14/15bootconfig: Prohibit re-defining value on same keyDocumentation/admin-guide/bootconfig.rst lib/bootconfig.c tools/bootconfig/samples/bad-samekey.bconf+24 -60 replies
15/15bootconfig: Add append value operator supportDocumentation/admin-guide/bootconfig.rst lib/bootconfig.c tools/bootconfig/test-bootconfig.sh+34 -70 replies

Reviews trailers per patch

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

PatchTom ZanussiMasami Hiramatsu
1/15
2/15
3/15
4/15
5/15R-b
6/15
7/15A-b
8/15R-b
9/15
10/15
11/15
12/15
13/15
14/15
15/15

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [for-linus][PATCH 00/15] tracing: Updates coming for 5.6 rc release

Some updates coming with 5.6 rc:

Change in API of bootconfig (before it comes live in a release)
- Have a magic value "BOOTCONFIG" in initrd to know a bootconfig exists
- Set CONFIG_BOOT_CONFIG to 'n' by default
- Show error if "bootconfig" on cmdline but not compiled in
- Prevent redefining the same value
- Have a way to append values

Synthetic event fixes:
- Switch to raw_smp_processor_id() for recording CPU value in preempt section. (No care for what the value actually is)
- Fix samples always recording u64 values
- Fix endianess
- Check number of values matches number of fields
- Fix a printing bug

Fix of trace_printk() breaking postponed start up tests

Make a function static that is only used in a single file.

Masami Hiramatsu (8):
tracing: Clear trace_state when starting trace
bootconfig: Set CONFIG_BOOT_CONFIG=n by default
bootconfig: Add bootconfig magic word for indicating bootconfig explicitly tools/bootconfig: Remove unneeded error message silencer
bootconfig: Reject subkey and value on same parent key
bootconfig: Print array as multiple commands for legacy command line
bootconfig: Prohibit re-defining value on same key
bootconfig: Add append value operator support

Qiujun Huang (1):
bootconfig: Mark boot_config_checksum() static

Steven Rostedt (VMware) (2):
tracing: Have synthetic event test use raw_smp_processor_id()
tracing: Disable trace_printk() on post poned tests

Tom Zanussi (4):
tracing: Make sure synth_event_trace() example always uses u64
tracing: Make synth_event trace functions endian-correct
tracing: Check that number of vals matches number of synth event fields
tracing: Fix number printing bug in print_synth_event()

----

 Documentation/admin-guide/bootconfig.rst     |  34 +++++++-
 include/linux/bootconfig.h                   |   3 +
 init/Kconfig                                 |   3 +-
 init/main.c                                  |  38 +++++----
 kernel/trace/Kconfig                         |   3 +-
 kernel/trace/synth_event_gen_test.c          |  44 +++++------
 kernel/trace/trace.c                         |   2 +
 kernel/trace/trace_events_hist.c             | 112 ++++++++++++++++++++++++---
 lib/bootconfig.c                             |  36 ++++++---
 tools/bootconfig/include/linux/printk.h      |   5 +-
 tools/bootconfig/main.c                      |  51 +++++++-----
 tools/bootconfig/samples/bad-mixed-kv1.bconf |   3 +
 tools/bootconfig/samples/bad-mixed-kv2.bconf |   3 +
 tools/bootconfig/samples/bad-samekey.bconf   |   6 ++
 tools/bootconfig/test-bootconfig.sh          |  18 ++++-
 15 files changed, 271 insertions(+), 90 deletions(-)
 create mode 100644 tools/bootconfig/samples/bad-mixed-kv1.bconf
 create mode 100644 tools/bootconfig/samples/bad-mixed-kv2.bconf
 create mode 100644 tools/bootconfig/samples/bad-samekey.bconf