[29f0dd]: daemon / opd_interface.h  Maximize  Restore  History

Download this file

33 lines (29 with data), 840 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/**
* @file opd_interface.h
*
* Module / user space interface for 2.6 kernels and above
*
* @remark Copyright 2002 OProfile authors
* @remark Read the file COPYING
*
* @author John Levon
* @author Philippe Elie
* Modified by Aravind Menon for Xen
* These modifications are:
* Copyright (C) 2005 Hewlett-Packard Co.
*/
#ifndef OPD_INTERFACE_H
#define OPD_INTERFACE_H
#define CTX_SWITCH_CODE 1
#define CPU_SWITCH_CODE 2
#define COOKIE_SWITCH_CODE 3
#define KERNEL_ENTER_SWITCH_CODE 4
#define USER_ENTER_SWITCH_CODE 5
#define MODULE_LOADED_CODE 6
#define CTX_TGID_CODE 7
#define TRACE_BEGIN_CODE 8
/* Code 9 used to be TRACE_END_CODE which is not used anymore */
/* Code 9 is now considered an unknown escape code */
#define XEN_ENTER_SWITCH_CODE 10
#define LAST_CODE 11
#endif /* OPD_INTERFACE_H */