kmemtrace: Core implementation.
[linux-2.6/kmemtrace.git] / arch / arm / oprofile / op_counter.h
blobca942a63b52fecba064c03b2a38aa4d397a7d779
1 /**
2 * @file op_counter.h
4 * @remark Copyright 2004 Oprofile Authors
5 * @remark Read the file COPYING
7 * @author Zwane Mwaikambo
8 */
10 #ifndef OP_COUNTER_H
11 #define OP_COUNTER_H
13 /* Per performance monitor configuration as set via
14 * oprofilefs.
16 struct 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;
25 extern struct op_counter_config *counter_config;
27 #endif /* OP_COUNTER_H */