blob: 61b2531eef17edb07b2b7e6dad78ddfdbefd1ce5 [file] [log] [blame]
Heiko Carstensa53c8fa2012-07-20 11:15:04 +02001/*
2 * Copyright IBM Corp. 2011
Andreas Krebbeldd3c4672011-11-25 20:03:05 +01003 * 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
11struct 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
19extern struct op_counter_config counter_config;
20
21#endif /* OP_COUNTER_H */