commit | 4e0a8b12241c464760ecb8dc965b913e8a17282c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Feb 25 08:55:11 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Feb 25 11:55:47 2022 +0100 |
tree | dfe913c193d358eb07077ec1edb3eb43cd19cd89 | |
parent | a79db30c63e3c07995a9a55a6f0f9ca53d94a977 [diff] |
DEBUG: add a new WARN_ON_ONCE() macro This one will maintain a static counter per call place and will only emit the warning on the first call. It may be used to invite users to report an unexpected event without spamming them with messages.