xref: /linux/arch/powerpc/perf/req-gen/_request-begin.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #define REQUEST(r_contents) \
4 	REQUEST_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, I(r_contents))
5 
6 #define __field(f_offset, f_bytes, f_name) \
7 	__field_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, \
8 		 f_offset, f_bytes, f_name)
9 
10 #define __array(f_offset, f_bytes, f_name) \
11 	__array_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, \
12 		 f_offset, f_bytes, f_name)
13 
14 #define __count(f_offset, f_bytes, f_name) \
15 	__count_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, \
16 		 f_offset, f_bytes, f_name)
17