From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 30 Oct 2020 14:47:16 -0400 Subject: [PATCH v4 07/22] log: Add filter flag to deny on match In-Reply-To: <20201027235541.706077-8-seanga2@gmail.com> References: <20201027235541.706077-1-seanga2@gmail.com> <20201027235541.706077-8-seanga2@gmail.com> Message-ID: <20201030184716.GG5340@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Oct 27, 2020 at 07:55:26PM -0400, Sean Anderson wrote: > 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 > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: