Searched refs:libbpf_capture_stream (Results 1 – 1 of 1) sorted by relevance
903 static FILE *libbpf_capture_stream; variable918 if (libbpf_capture_stream) { in start_libbpf_log_capture()923 libbpf_capture_stream = open_memstream(&libbpf_output_capture.buf, in start_libbpf_log_capture()925 if (!libbpf_capture_stream) { in start_libbpf_log_capture()941 if (!libbpf_capture_stream) in stop_libbpf_log_capture()944 fputc(0, libbpf_capture_stream); in stop_libbpf_log_capture()945 fclose(libbpf_capture_stream); in stop_libbpf_log_capture()946 libbpf_capture_stream = NULL; in stop_libbpf_log_capture()956 if (libbpf_capture_stream && level != LIBBPF_DEBUG) { in libbpf_print_fn()960 vfprintf(libbpf_capture_stream, format, args2); in libbpf_print_fn()