mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-26 04:25:27 +08:00
24 lines
578 B
C
24 lines
578 B
C
|
/**
|
||
|
* arch/s390/oprofile/op_counter.h
|
||
|
*
|
||
|
* Copyright (C) 2011 IBM Deutschland Entwicklung GmbH, IBM Corporation
|
||
|
* Author(s): Andreas Krebbel (krebbel@linux.vnet.ibm.com)
|
||
|
*
|
||
|
* @remark Copyright 2011 OProfile authors
|
||
|
*/
|
||
|
|
||
|
#ifndef OP_COUNTER_H
|
||
|
#define OP_COUNTER_H
|
||
|
|
||
|
struct op_counter_config {
|
||
|
/* `enabled' maps to the hwsampler_file variable. */
|
||
|
/* `count' maps to the oprofile_hw_interval variable. */
|
||
|
/* `event' and `unit_mask' are unused. */
|
||
|
unsigned long kernel;
|
||
|
unsigned long user;
|
||
|
};
|
||
|
|
||
|
extern struct op_counter_config counter_config;
|
||
|
|
||
|
#endif /* OP_COUNTER_H */
|