diff options
author | Sean Anderson | 2020-10-27 19:55:26 -0400 |
---|---|---|
committer | Tom Rini | 2020-10-30 10:55:26 -0400 |
commit | fe3b1a2d21fb35ac212066dd74b7cc4b6bfbccc9 (patch) | |
tree | 9471cfda8361eff00c050c3e9148520328f06790 /test/log | |
parent | a02f84ee9c6f42137671b74ec3bb9d159b10b7ee (diff) |
log: Add filter flag to deny on match
Without this flag, log filters can only explicitly accept messages.
Allowing denial makes it easier to filter certain subsystems. Unlike
allow-ing filters, deny-ing filters are added to the beginning of the
filter list. This should do the Right Thing most of the time, but it's
less-universal than allowing filters to be inserted anywhere. If this
becomes a problem, then perhaps log_filter_add* should take a filter number
to insert before/after.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/log')
0 files changed, 0 insertions, 0 deletions