summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/perf/req-gen/_request-begin.h
blob: 7c74c2ab4c0cd9c4dfab6d0d67e6001ff1067017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0 */

#define REQUEST(r_contents) \
	REQUEST_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, I(r_contents))

#define __field(f_offset, f_bytes, f_name) \
	__field_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, \
		 f_offset, f_bytes, f_name)

#define __array(f_offset, f_bytes, f_name) \
	__array_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, \
		 f_offset, f_bytes, f_name)

#define __count(f_offset, f_bytes, f_name) \
	__count_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, \
		 f_offset, f_bytes, f_name)