trace: Document function pattern prefixes

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
This commit is contained in:
Benjamin Berg 2023-11-21 01:51:48 +02:00 committed by Jouni Malinen
parent 5545d995b3
commit e62d351ce7

View file

@ -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;