From: Benjamin Berg Date: Mon, 20 Nov 2023 23:51:48 +0000 (+0200) Subject: trace: Document function pattern prefixes X-Git-Tag: hostap_2_11~744 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e62d351ce7b492042fb5a4645b5428d8c1c47d84;p=thirdparty%2Fhostap.git trace: Document function pattern prefixes Signed-off-by: Benjamin Berg --- diff --git a/src/utils/os_unix.c b/src/utils/os_unix.c index 39f00943b..093548256 100644 --- a/src/utils/os_unix.c +++ b/src/utils/os_unix.c @@ -570,6 +570,11 @@ int testing_test_fail(bool is_alloc) pos = wpa_trace_fail_func[is_alloc]; + /* The prefixes mean: + * - '=': The function needs to be next in the backtrace + * - '?': The function is optionally present in the backtrace + */ + match = 0; while (i < res) { int allow_skip = 1;