]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - arch/arm/oprofile/op_counter.h
Add a document describing the padata interface
[mirror_ubuntu-hirsute-kernel.git] / arch / arm / oprofile / op_counter.h
CommitLineData
1da177e4
LT
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
1da177e4
LT
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
ae92dc9f 25extern struct op_counter_config *counter_config;
1da177e4
LT
26
27#endif /* OP_COUNTER_H */