summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng/lttng-tools
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2018-09-02 19:20:07 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-05 18:00:25 +0100
commit3beda3d9219d7110caae960044847cde28788f44 (patch)
tree771f592499bfd4c03c850c9aff3437caf83d2347 /meta/recipes-kernel/lttng/lttng-tools
parenteadd66da9b32be7ad7072c1909dc28b2dae65b48 (diff)
downloadpoky-3beda3d9219d7110caae960044847cde28788f44.tar.gz
lttng-tools: add systemd support
Add systemd service file of lttng-tools from Fedora ftp://fr2.rpmfind.net/linux/fedora/linux/development/rawhide /Everything/source/tree/Packages/l/lttng-tools-2.10.5-1.fc29.src.rpm It requires kernel configs CONFIG_STAGING and CONFIG_LTTNG2 to be set. But linux-yocto doesn't meet the requirement. So disable the service by default. (From OE-Core rev: 29bc046d705beb9dac2e70fa31358da7719ba7a4) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-tools')
-rw-r--r--meta/recipes-kernel/lttng/lttng-tools/lttng-sessiond.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-tools/lttng-sessiond.service b/meta/recipes-kernel/lttng/lttng-tools/lttng-sessiond.service
new file mode 100644
index 0000000000..aaf8130592
--- /dev/null
+++ b/meta/recipes-kernel/lttng/lttng-tools/lttng-sessiond.service
@@ -0,0 +1,9 @@
1[Unit]
2Description=LTTng 2.x central tracing registry session daemon
3
4[Service]
5Type=forking
6ExecStart=/usr/bin/lttng-sessiond -d
7
8[Install]
9WantedBy=multi-user.target