diff options
author | David Lamparter <equinox@diac24.net> | 2020-04-28 09:30:59 +0200 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2021-02-01 17:28:09 +0100 |
commit | 131879fb926798bfefd80b0e2cba266919c5be1d (patch) | |
tree | d3969846271acbdc3f2cdb9161f813b1353f4988 /lib/clippy.c | |
parent | lib/xref: use to transport thread_* file/line/func (diff) | |
download | frr-131879fb926798bfefd80b0e2cba266919c5be1d.tar.xz frr-131879fb926798bfefd80b0e2cba266919c5be1d.zip |
lib/xref: add xrefs on zlog_* calls
This allows extracting a list of all log messages including their ECs
and autogenerated unique IDs for them.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/clippy.c')
-rw-r--r-- | lib/clippy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/clippy.c b/lib/clippy.c index 2e09c24c6..15cd9d7a4 100644 --- a/lib/clippy.c +++ b/lib/clippy.c @@ -107,7 +107,8 @@ int main(int argc, char **argv) #include "log.h" #include "zassert.h" -void vzlog(int prio, const char *format, va_list args) +void vzlogx(const struct xref_logmsg *xref, int prio, + const char *format, va_list args) { vfprintf(stderr, format, args); fputs("\n", stderr); |