Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
drivers
oprofile
event_buffer.h
Go to the documentation of this file.
1
10
#ifndef EVENT_BUFFER_H
11
#define EVENT_BUFFER_H
12
13
#include <linux/types.h>
14
#include <
linux/mutex.h
>
15
16
int
alloc_event_buffer
(
void
);
17
18
void
free_event_buffer
(
void
);
19
25
void
add_event_entry
(
unsigned
long
data
);
26
27
/* wake up the process sleeping on the event file */
28
void
wake_up_buffer_waiter
(
void
);
29
30
#define INVALID_COOKIE ~0UL
31
#define NO_COOKIE 0UL
32
33
extern
const
struct
file_operations
event_buffer_fops
;
34
35
/* mutex between sync_cpu_buffers() and the
36
* file reading code.
37
*/
38
extern
struct
mutex
buffer_mutex
;
39
40
#endif
/* EVENT_BUFFER_H */
Generated on Thu Jan 10 2013 14:13:37 for Linux Kernel by
1.8.2