]> git.proxmox.com Git - mirror_frr.git/commit - python/xrefstructs.json
lib/xref: record log message format args
authorDavid Lamparter <equinox@diac24.net>
Sat, 13 Feb 2021 23:53:27 +0000 (00:53 +0100)
committerDavid Lamparter <equinox@diac24.net>
Tue, 23 Feb 2021 15:56:58 +0000 (16:56 +0100)
commit2621bb8b8dee4222da22bbc5c8036de70af096fb
tree21ced8d6c99135a923380e4be8e40ee0ef91d777
parenta1e6ab1e9334a4f266cd7133f1deb2193811f386
lib/xref: record log message format args

Apparently you can do `#__VA_ARGS__` and it actually does something
sensible, so here we go recording the format parameters for log messages
into the xref.

This allows some more checking in xrelfo.py, e.g. hints to use `%pFX`
and co.

Signed-off-by: David Lamparter <equinox@diac24.net>
lib/subdir.am
lib/zlog.h
python/xrefstructs.json
python/xrelfo.py