Searched refs:libbpf_capture_stream (Results 1 – 1 of 1) sorted by relevance
929 static FILE *libbpf_capture_stream; variable944 if (libbpf_capture_stream) { in start_libbpf_log_capture()949 libbpf_capture_stream = open_memstream(&libbpf_output_capture.buf, in start_libbpf_log_capture()951 if (!libbpf_capture_stream) { in start_libbpf_log_capture()967 if (!libbpf_capture_stream) in stop_libbpf_log_capture()970 fputc(0, libbpf_capture_stream); in stop_libbpf_log_capture()971 fclose(libbpf_capture_stream); in stop_libbpf_log_capture()972 libbpf_capture_stream = NULL; in stop_libbpf_log_capture()982 if (libbpf_capture_stream && level != LIBBPF_DEBUG) { in libbpf_print_fn()986 vfprintf(libbpf_capture_stream, format, args2); in libbpf_print_fn()