tracing/bootconfig: Fixes and changes to bootconfig before it goes live in a release
Linus,
Tracing updates:
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
- Added a SELECT BLK_DEV_INITRD to fix a build failure
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.
Please pull the latest trace-v5.6-rc2 tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
trace-v5.6-rc2
Tag SHA1: b50d255b6c6f55384c40bbac65fd5d5d4529a8ba Head SHA1: 2910b5aa6f545c044173a5cab3dbb7f43e23916d
Masami Hiramatsu (9):
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
bootconfig: Fix CONFIG_BOOTTIME_TRACING dependency issue
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 | 5 +- init/main.c | 38 +++++---- kernel/trace/Kconfig | 4 +- 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, 272 insertions(+), 92 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
---------------------------
The pull request you sent on Tue, 25 Feb 2020 19:19:27 -0500:
The pull request you sent on Tue, 25 Feb 2020 19:19:27 -0500:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.gittrace-v5.6-rc2
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/91ad64a84e9e63e2906ae714dfa3933dd3f64c64
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/userdoc/prtracker