swh:1:snp:77163734605b0ec556b01d897b7bb4a7e30d46b6
Raw File
Tip revision: 18e352e4a73465349711a9324767e1b2453383e2 authored by Linus Torvalds on 28 January 2009, 18:49:30 UTC
Linux 2.6.29-rc3
Tip revision: 18e352e
op_counter.h
/**
 * @file op_counter.h
 *
 * @remark Copyright 2002 OProfile authors
 * @remark Read the file COPYING
 *
 * @author John Levon
 */

#ifndef OP_COUNTER_H
#define OP_COUNTER_H

#define OP_MAX_COUNTER 8

/* Per-perfctr configuration as set via
 * oprofilefs.
 */
struct op_counter_config {
	unsigned long count;
	unsigned long enabled;
	unsigned long event;
	unsigned long kernel;
	unsigned long user;
	unsigned long unit_mask;
};

extern struct op_counter_config counter_config[];

#endif /* OP_COUNTER_H */
back to top