swh:1:snp:77163734605b0ec556b01d897b7bb4a7e30d46b6
Raw File
Tip revision: 53c8ba95402be65d412a806cda3430f0e72cd107 authored by Linus Torvalds on 05 June 2008, 03:10:44 UTC
Linux 2.6.26-rc5
Tip revision: 53c8ba9
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