Searched refs:kern_ringbuf (Results 1 – 1 of 1) sorted by relevance
148 struct ring_buffer *kern_ringbuf = NULL; in load_skel_create_ringbufs() local161 kern_ringbuf = ring_buffer__new(rb_fd, callback, skel, NULL); in load_skel_create_ringbufs()162 if (!ASSERT_OK_PTR(kern_ringbuf, "kern_ringbuf_create")) in load_skel_create_ringbufs()165 *kern_ringbuf_out = kern_ringbuf; in load_skel_create_ringbufs()190 ring_buffer__free(kern_ringbuf); in load_skel_create_ringbufs()523 static void drain_kernel_messages_buffer(struct ring_buffer *kern_ringbuf, in drain_kernel_messages_buffer() argument528 cnt = ring_buffer__consume(kern_ringbuf); in drain_kernel_messages_buffer()537 struct ring_buffer *kern_ringbuf; in test_user_ringbuf_msg_protocol() local541 err = load_skel_create_ringbufs(&skel, &kern_ringbuf, handle_kernel_msg, &user_ringbuf); in test_user_ringbuf_msg_protocol()579 drain_kernel_messages_buffer(kern_ringbuf, skel); in test_user_ringbuf_msg_protocol()[all …]