1 /* 2 * Copyright IBM Corp. 2011 3 * Author(s): Andreas Krebbel (krebbel@linux.vnet.ibm.com) 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 */ 22