Home
last modified time | relevance | path

Searched refs:log_cnt (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/bpf/
Dtest_progs.c27 static void stdio_hijack_init(char **log_buf, size_t *log_cnt) in stdio_hijack_init() argument
38 stdout = open_memstream(log_buf, log_cnt); in stdio_hijack_init()
54 static void stdio_hijack(char **log_buf, size_t *log_cnt) in stdio_hijack() argument
65 stdio_hijack_init(log_buf, log_cnt); in stdio_hijack()
246 static void print_test_log(char *log_buf, size_t log_cnt) in print_test_log() argument
248 log_buf[log_cnt] = '\0'; in print_test_log()
250 if (log_buf[log_cnt - 1] != '\n') in print_test_log()
272 static void jsonw_write_log_message(json_writer_t *w, char *log_buf, size_t log_cnt) in jsonw_write_log_message() argument
277 if (log_cnt) { in jsonw_write_log_message()
309 if (test_state->log_cnt && print_test) in dump_test_log()
[all …]
Dtest_progs.h72 size_t log_cnt; member
92 size_t log_cnt; member