Merge tag 'fbdev-fixes-4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba...
[deliverable/linux.git] / arch / x86 / oprofile / op_counter.h
CommitLineData
1da177e4
LT
1/**
2 * @file op_counter.h
3 *
4 * @remark Copyright 2002 OProfile authors
5 * @remark Read the file COPYING
6 *
7 * @author John Levon
8 */
0f019cc4 9
1da177e4
LT
10#ifndef OP_COUNTER_H
11#define OP_COUNTER_H
0f019cc4 12
4d4036e0 13#define OP_MAX_COUNTER 32
0f019cc4 14
1da177e4
LT
15/* Per-perfctr configuration as set via
16 * oprofilefs.
17 */
18struct op_counter_config {
0f019cc4
RR
19 unsigned long count;
20 unsigned long enabled;
21 unsigned long event;
22 unsigned long kernel;
23 unsigned long user;
24 unsigned long unit_mask;
914a76ca 25 unsigned long extra;
1da177e4
LT
26};
27
28extern struct op_counter_config counter_config[];
29
30#endif /* OP_COUNTER_H */
This page took 0.675326 seconds and 5 git commands to generate.