diff options
author | Ingo Molnar <mingo@elte.hu> | 2011-12-20 12:10:29 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-12-20 12:10:29 +0100 |
commit | 124ba9403318d834ef21bcd899c22c870708d2c4 (patch) | |
tree | 2ac84214085de8780dfa565be7e3ef0d675f6a68 /arch/s390/oprofile/op_counter.h | |
parent | perf tools: Add ability to synthesize event according to a sample (diff) | |
parent | oprofile, s390: Add event interface to the System z hardware sampling module (diff) | |
download | linux-124ba9403318d834ef21bcd899c22c870708d2c4.tar.xz linux-124ba9403318d834ef21bcd899c22c870708d2c4.zip |
Merge branch 'for-tip' of git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile into perf/core
Diffstat (limited to 'arch/s390/oprofile/op_counter.h')
-rw-r--r-- | arch/s390/oprofile/op_counter.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/s390/oprofile/op_counter.h b/arch/s390/oprofile/op_counter.h new file mode 100644 index 000000000000..1a8d3ca09014 --- /dev/null +++ b/arch/s390/oprofile/op_counter.h @@ -0,0 +1,23 @@ +/** + * 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 */ |