]> git.ipfire.org Git - thirdparty/hostap.git/commit
trace: Add TEST_FAIL_TAG macro to allow more narrow matching
authorBenjamin Berg <benjamin.berg@intel.com>
Mon, 20 Nov 2023 23:51:50 +0000 (01:51 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 26 Nov 2023 11:00:45 +0000 (13:00 +0200)
commitcd79d834bfa130b51f8cb67d8afca9ba538c867a
treebf9f93ad6902e4f976d61918420f168dc4f2a737
parenta5d5b63d61a9164fa7bd5037a6ea0c7d9b02a4de
trace: Add TEST_FAIL_TAG macro to allow more narrow matching

The tag is inserted as the first item in the stack trace, making it
trivial to match against it from the test.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
src/utils/os.h
src/utils/os_unix.c