xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-kernel/lttng/lttng-platforms.inc (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#
2*4882a593Smuzhiyun# Whether the platform supports kernel tracing
3*4882a593Smuzhiyun#
4*4882a593SmuzhiyunLTTNGMODULES = "lttng-modules"
5*4882a593SmuzhiyunLTTNGMODULES:arc = ""
6*4882a593SmuzhiyunLTTNGMODULES:riscv64 = ""
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunCOMPATIBLE_HOST:riscv64:pn-lttng-modules = "null"
9*4882a593SmuzhiyunCOMPATIBLE_HOST:arc:pn-lttng-modules = "null"
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun# Whether the platform supports userspace tracing
12*4882a593Smuzhiyun# lttng-ust uses sched_getcpu() which is not there on for some platforms.
13*4882a593SmuzhiyunLTTNGUST = "lttng-ust"
14*4882a593SmuzhiyunLTTNGUST:arc = ""
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunCOMPATIBLE_HOST:arc:pn-lttng-ust = "null"
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun# Whether the platform supports lttng-tools
19*4882a593Smuzhiyun# lttng-tools requires SYS_ppoll and SYS_pselect6 which are not supported on riscv32.
20*4882a593Smuzhiyun# It's also turned off for riscv32 in meta-riscv. See https://github.com/riscv/meta-riscv/blob/master/conf/layer.conf
21*4882a593SmuzhiyunCOMPATIBLE_HOST:riscv32:pn-lttng-tools = "null"
22