swh:1:snp:77163734605b0ec556b01d897b7bb4a7e30d46b6
Raw File
Tip revision: bfa274e2436fc7ef72ef51c878083647f1cfd429 authored by Linus Torvalds on 24 February 2008, 21:25:54 UTC
Linux 2.6.25-rc3
Tip revision: bfa274e
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