Searched refs:klog_buf_len (Results 1 – 1 of 1) sorted by relevance
243 int klog_buf_len = klogctl(KLOG_SIZE_BUFFER, 0, 0); in save_kernel_log() local244 if (klog_buf_len <= 0) { in save_kernel_log()249 std::string buffer(klog_buf_len, 0); in save_kernel_log()250 int n = klogctl(KLOG_READ_ALL, &buffer[0], klog_buf_len); in save_kernel_log()