blob: 8abb2c4bf2110386ffc116310c5e0f9d4a0aa5cc [file] [log] [blame]
Upstreamcc2ee171970-01-12 13:46:40 +00001/**
2 * @file opd_interface.h
3 *
4 * Module / user space interface for 2.6 kernels and above
5 *
6 * @remark Copyright 2002 OProfile authors
7 * @remark Read the file COPYING
8 *
9 * @author John Levon
10 * @author Philippe Elie
11 */
12
13#ifndef OPD_INTERFACE_H
14#define OPD_INTERFACE_H
15
16#define CTX_SWITCH_CODE 1
17#define CPU_SWITCH_CODE 2
18#define COOKIE_SWITCH_CODE 3
19#define KERNEL_ENTER_SWITCH_CODE 4
20#define KERNEL_EXIT_SWITCH_CODE 5
21#define MODULE_LOADED_CODE 6
22#define CTX_TGID_CODE 7
23#define TRACE_BEGIN_CODE 8
24#define LAST_CODE 9
25
26#endif /* OPD_INTERFACE_H */