]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: log: Add commands to manipulate filters
authorSean Anderson <seanga2@gmail.com>
Tue, 27 Oct 2020 23:55:38 +0000 (19:55 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 30 Oct 2020 14:56:11 +0000 (10:56 -0400)
commit3e40976aba6fa8ef798f11b45448be2504bd9b89
tree7f116b9fa890d31c19a7cc7d9f9a90336e45d3fe
parentfbc33df13cd44f4fac63faf1250bd5849d447997
cmd: log: Add commands to manipulate filters

This adds several commands to add, list, and remove log filters. Due to the
complexity of adding a filter, `log filter-list` uses options instead of
positional arguments.

These commands have been added as subcommands to log by using a dash to
join the subcommand and subsubcommand. This is stylistic, and they could be
converted to proper subsubcommands if it is wished.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/Kconfig
cmd/log.c