]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/sys-kernel-tracing.mount
Explain how to determine hierarchy type from shell
[thirdparty/systemd.git] / units / sys-kernel-tracing.mount
1 # SPDX-License-Identifier: LGPL-2.1+
2 #
3 # This file is part of systemd.
4 #
5 # systemd is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as published by
7 # the Free Software Foundation; either version 2.1 of the License, or
8 # (at your option) any later version.
9
10 [Unit]
11 Description=Kernel Trace File System
12 Documentation=https://www.kernel.org/doc/Documentation/trace/ftrace.txt
13 Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
14 DefaultDependencies=no
15 ConditionVirtualization=!lxc
16 ConditionPathExists=/sys/kernel/tracing
17 ConditionCapability=CAP_SYS_RAWIO
18 Before=sysinit.target
19
20 [Mount]
21 What=tracefs
22 Where=/sys/kernel/tracing
23 Type=tracefs
24 Options=nosuid,nodev,noexec