xref: /OK3568_Linux_fs/kernel/arch/powerpc/include/uapi/asm/perf_event.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * Copyright 2013 Michael Ellerman, IBM Corp.
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * This program is free software; you can redistribute it and/or
6*4882a593Smuzhiyun  * modify it under the terms of the GNU General Public License
7*4882a593Smuzhiyun  * as published by the Free Software Foundation; version 2 of the
8*4882a593Smuzhiyun  * License.
9*4882a593Smuzhiyun  */
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun #ifndef _UAPI_ASM_POWERPC_PERF_EVENT_H
12*4882a593Smuzhiyun #define _UAPI_ASM_POWERPC_PERF_EVENT_H
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun /*
15*4882a593Smuzhiyun  * We use bit 63 of perf_event_attr.config as a flag to request EBB.
16*4882a593Smuzhiyun  */
17*4882a593Smuzhiyun #define PERF_EVENT_CONFIG_EBB_SHIFT	63
18*4882a593Smuzhiyun 
19*4882a593Smuzhiyun #endif /* _UAPI_ASM_POWERPC_PERF_EVENT_H */
20