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)
commit0f0d0a77ccbdc6bfe51c0d184f92d99ebcc2e809
treee7e3dcc7f7315ccd1b2572b15480f0110e6283d5
parent597c0e3b4540972580ab36bcc8aa34394bd88cfb
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