KVM: Portability: move vpic and vioapic to kvm_arch
[deliverable/linux.git] / drivers / oprofile / event_buffer.h
CommitLineData
1da177e4
LT
1/**
2 * @file event_buffer.h
3 *
4 * @remark Copyright 2002 OProfile authors
5 * @remark Read the file COPYING
6 *
7 * @author John Levon <levon@movementarian.org>
8 */
9
10#ifndef EVENT_BUFFER_H
11#define EVENT_BUFFER_H
12
13#include <linux/types.h>
59cc185a 14#include <asm/mutex.h>
1da177e4
LT
15
16int alloc_event_buffer(void);
17
18void free_event_buffer(void);
19
20/* wake up the process sleeping on the event file */
21void wake_up_buffer_waiter(void);
1474855d 22
0c0a400d
JL
23#define INVALID_COOKIE ~0UL
24#define NO_COOKIE 0UL
25
d54b1fdb 26extern const struct file_operations event_buffer_fops;
1da177e4
LT
27
28/* mutex between sync_cpu_buffers() and the
29 * file reading code.
30 */
59cc185a 31extern struct mutex buffer_mutex;
1da177e4
LT
32
33#endif /* EVENT_BUFFER_H */
This page took 0.356381 seconds and 5 git commands to generate.