From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/arch/s390/oprofile/op_counter.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 ANDROID_3.4.5/arch/s390/oprofile/op_counter.h (limited to 'ANDROID_3.4.5/arch/s390/oprofile/op_counter.h') diff --git a/ANDROID_3.4.5/arch/s390/oprofile/op_counter.h b/ANDROID_3.4.5/arch/s390/oprofile/op_counter.h new file mode 100644 index 00000000..1a8d3ca0 --- /dev/null +++ b/ANDROID_3.4.5/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 */ -- cgit