1/** 2 * @file op_counter.h 3 * 4 * @remark Copyright 2004 Oprofile Authors 5 * @remark Read the file COPYING 6 * 7 * @author Zwane Mwaikambo 8 */ 9 10#ifndef OP_COUNTER_H 11#define OP_COUNTER_H 12 13/* Per performance monitor configuration as set via 14 * oprofilefs. 15 */ 16struct op_counter_config { 17 unsigned long count; 18 unsigned long enabled; 19 unsigned long event; 20 unsigned long unit_mask; 21 unsigned long kernel; 22 unsigned long user; 23}; 24 25extern struct op_counter_config *counter_config; 26 27#endif /* OP_COUNTER_H */ 28