[PATCH v2 19/22] cmd: log: Add commands to manipulate filters
Simon Glass
sjg at chromium.org
Mon Oct 12 05:35:22 CEST 2020
On Sat, 10 Oct 2020 at 13:44, Sean Anderson <seanga2 at gmail.com> wrote:
>
> 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 at gmail.com>
> ---
>
> Changes in v2:
> - Add option to remove all filters to filter-remove
> - Clarify filter-* help text
>
> cmd/Kconfig | 1 +
> cmd/log.c | 240 ++++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 241 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list