aboutsummaryrefslogtreecommitdiffstats
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 17:54:07 +0100
commit29bc046d705beb9dac2e70fa31358da7719ba7a4 (patch)
tree1727ecb7f40ad138011944089274aea3db072f7a /meta/recipes-kernel/lttng/lttng-tools
parent439be401cd642937b45796489e8c10aa5238a963 (diff)
downloadopenembedded-core-contrib-29bc046d705beb9dac2e70fa31358da7719ba7a4.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. 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 @@
+[Unit]
+Description=LTTng 2.x central tracing registry session daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/lttng-sessiond -d
+
+[Install]
+WantedBy=multi-user.target