]> git.baikalelectronics.ru Git - kernel.git/commit
tools/bootconfig: Show the number of bootconfig nodes
authorMasami Hiramatsu <mhiramat@kernel.org>
Wed, 5 Feb 2020 13:50:13 +0000 (22:50 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 5 Feb 2020 22:17:05 +0000 (17:17 -0500)
commit1198f6392f2533944ffb442ad91c8e01ba0dbfa7
treee7e3dcc7f7315ccd1b2572b15480f0110e6283d5
parent4d7600c788711f3f4705dff90103690b3de0f381
tools/bootconfig: Show the number of bootconfig nodes

Show the number of bootconfig nodes when applying new bootconfig to
initrd.

Since there are limitations of bootconfig not only in its filesize,
but also the number of nodes, the number should be shown when applying
so that user can get the feeling of scale of current bootconfig.

Link: http://lkml.kernel.org/r/158091061337.27924.10886706631693823982.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
lib/bootconfig.c
tools/bootconfig/main.c