summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng/lttng-platforms.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-27 09:56:28 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-27 21:41:57 +0100
commitbf7cbaff417b45c15a11034f2809193a563064b7 (patch)
treebe60e34570430ec0265c45144ad140ae0474347a /meta/recipes-kernel/lttng/lttng-platforms.inc
parent194d0ecc9846c5aff6a3e4f87c5719275f4f8a00 (diff)
downloadpoky-bf7cbaff417b45c15a11034f2809193a563064b7.tar.gz
lttng: Move platform logic to dedicated inc file
Some platforms support kernel tracing, some support userspace tracing. This change: * Moves the knowledge/config to one place in an inc file * Allows lttng-tools to build without lttng-modules * Hence enables tools+ust for riscv64 * Has the packagegroup just depend on lttng-tools which will pull in ust/modules as needed (From OE-Core rev: 1824cf062df928de65c1bff5e86e26b7b4d9d784) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-platforms.inc')
-rw-r--r--meta/recipes-kernel/lttng/lttng-platforms.inc17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-platforms.inc b/meta/recipes-kernel/lttng/lttng-platforms.inc
new file mode 100644
index 0000000000..aa8220bbb4
--- /dev/null
+++ b/meta/recipes-kernel/lttng/lttng-platforms.inc
@@ -0,0 +1,17 @@
1#
2# Whether the platform supports kernel tracing
3#
4LTTNGMODULES = "lttng-modules"
5LTTNGMODULES_arc = ""
6LTTNGMODULES_riscv64 = ""
7
8COMPATIBLE_HOST_riscv64_pn-lttng-modules = "null"
9COMPATIBLE_HOST_arc_pn-lttng-modules = "null"
10
11# Whether the platform supports userspace tracing
12# lttng-ust uses sched_getcpu() which is not there on for some platforms.
13LTTNGUST = "lttng-ust"
14LTTNGUST_arc = ""
15
16COMPATIBLE_HOST_arc_pn-lttng-ust = "null"
17