[GIT PULL] bootconfig: Updates for v7.2

From: Google

Date: Mon Jun 15 2026 - 21:05:25 EST


Hi Linus,

Bootconfig updates for v7.2

- bootconfig: Render kernel subtree as cmdline string at build time
. bootconfig: move xbc_snprint_cmdline() to lib/bootconfig.c. Move the
xbc_snprint_cmdline() function and its buffer from main.c to the shared
lib/bootconfig.c parser library so it can be reused by userspace tools.
. tools/bootconfig: render kernel.* subtree as cmdline string with -C. Add a
new -C option to print the kernel.* subtree as a flat command-line string
at build time, allowing early parameter injection without runtime parsing.


Please pull the latest bootconfig-v7.2 tree, which can be found at:


git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
bootconfig-v7.2

Tag SHA1: 4819844d8718664356a18a5c07efdce598dfbdf9
Head SHA1: 4135542de6c42bc366a651d0b2d82ea72ac199fc


Breno Leitao (2):
bootconfig: move xbc_snprint_cmdline() to lib/bootconfig.c
tools/bootconfig: render kernel.* subtree as cmdline string with -C

----
include/linux/bootconfig.h | 3 +++
init/main.c | 45 ----------------------------------
lib/bootconfig.c | 56 +++++++++++++++++++++++++++++++++++++++++++
tools/bootconfig/main.c | 60 +++++++++++++++++++++++++++++++++++++++-------
4 files changed, 111 insertions(+), 53 deletions(-)

--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>