blob: ca942a63b52fecba064c03b2a38aa4d397a7d779 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/**
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
Linus Torvalds1da177e2005-04-16 15:20:36 -070013/* 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
Russell Kingae92dc92006-03-16 11:32:51 +000025extern struct op_counter_config *counter_config;
Linus Torvalds1da177e2005-04-16 15:20:36 -070026
27#endif /* OP_COUNTER_H */