tools/bootconfig: Show bootconfig compact tree from bootconfig file
authorMasami Hiramatsu <mhiramat@kernel.org>
Mon, 10 Aug 2020 08:34:41 +0000 (17:34 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 19 Sep 2020 02:17:13 +0000 (22:17 -0400)
commitd052e1c6909f9ccbdc4112a50796afca19094229
tree777ff3359e26665ccb6385bb02f87f65fc3f3a66
parenta27026e95b57acbb8df7182e020b099e7f3b5ac3
tools/bootconfig: Show bootconfig compact tree from bootconfig file

Show the bootconfig compact tree from the bootconfig file
instead of an initrd if the given file has no magic number
and is smaller than 32KB.

User can use this for checking the syntax error or output
checking before applying the bootconfig to initrd.

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