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