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

From: Steven Rostedt
Date: Mon Feb 24 2020 - 12:21:19 EST



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