| Andreas Krebbel | dd3c467 | 2011-11-25 20:03:05 +0100 | [diff] [blame] | 1 | /** | 
 | 2 |  * arch/s390/oprofile/op_counter.h | 
 | 3 |  * | 
 | 4 |  *   Copyright (C) 2011 IBM Deutschland Entwicklung GmbH, IBM Corporation | 
 | 5 |  *   Author(s): Andreas Krebbel (krebbel@linux.vnet.ibm.com) | 
 | 6 |  * | 
 | 7 |  * @remark Copyright 2011 OProfile authors | 
 | 8 |  */ | 
 | 9 |  | 
 | 10 | #ifndef OP_COUNTER_H | 
 | 11 | #define OP_COUNTER_H | 
 | 12 |  | 
 | 13 | struct op_counter_config { | 
 | 14 | 	/* `enabled' maps to the hwsampler_file variable.  */ | 
 | 15 | 	/* `count' maps to the oprofile_hw_interval variable.  */ | 
 | 16 | 	/* `event' and `unit_mask' are unused. */ | 
 | 17 | 	unsigned long kernel; | 
 | 18 | 	unsigned long user; | 
 | 19 | }; | 
 | 20 |  | 
 | 21 | extern struct op_counter_config counter_config; | 
 | 22 |  | 
 | 23 | #endif /* OP_COUNTER_H */ |