|
Linux Kernel
3.7.1
|
#include <linux/vmalloc.h>#include <linux/oprofile.h>#include <linux/sched.h>#include <linux/capability.h>#include <linux/dcookies.h>#include <linux/fs.h>#include <asm/uaccess.h>#include "oprof.h"#include "event_buffer.h"#include "oprofile_stats.h"Go to the source code of this file.
Functions | |
| DEFINE_MUTEX (buffer_mutex) | |
| void | add_event_entry (unsigned long value) |
| void | wake_up_buffer_waiter (void) |
| int | alloc_event_buffer (void) |
| void | free_event_buffer (void) |
Variables | |
| struct file_operations | event_buffer_fops |
This is the global event buffer that the user-space daemon reads from. The event buffer is an untyped array of unsigned longs. Entries are prefixed by the escape value ESCAPE_CODE followed by an identifying code.
Definition in file event_buffer.c.
Add data to the event buffer. The data passed is free-form, but typically consists of file offsets, dcookies, context information, and ESCAPE codes.
Definition at line 44 of file event_buffer.c.
Definition at line 81 of file event_buffer.c.
| DEFINE_MUTEX | ( | buffer_mutex | ) |
Definition at line 102 of file event_buffer.c.
Definition at line 72 of file event_buffer.c.
| struct file_operations event_buffer_fops |
Definition at line 204 of file event_buffer.c.
1.8.2