Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
op_counter.h
Go to the documentation of this file.
1 /*
2  * Copyright IBM Corp. 2011
3  * Author(s): Andreas Krebbel ([email protected])
4  *
5  * @remark Copyright 2011 OProfile authors
6  */
7 
8 #ifndef OP_COUNTER_H
9 #define OP_COUNTER_H
10 
11 struct op_counter_config {
12  /* `enabled' maps to the hwsampler_file variable. */
13  /* `count' maps to the oprofile_hw_interval variable. */
14  /* `event' and `unit_mask' are unused. */
15  unsigned long kernel;
16  unsigned long user;
17 };
18 
19 extern struct op_counter_config counter_config;
20 
21 #endif /* OP_COUNTER_H */