2020-11-09 04:23:58 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2020-02-21 14:08:13 +00:00
|
|
|
#
|
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Kernel Trace File System
|
2022-07-04 14:26:30 +00:00
|
|
|
Documentation=https://docs.kernel.org/trace/ftrace.html
|
2024-05-28 12:38:22 +00:00
|
|
|
Documentation=https://systemd.io/API_FILE_SYSTEMS
|
2020-02-21 14:08:13 +00:00
|
|
|
DefaultDependencies=no
|
2020-03-22 20:37:06 +00:00
|
|
|
ConditionVirtualization=!lxc
|
2020-02-21 14:08:13 +00:00
|
|
|
ConditionPathExists=/sys/kernel/tracing
|
|
|
|
ConditionCapability=CAP_SYS_RAWIO
|
|
|
|
Before=sysinit.target
|
|
|
|
|
|
|
|
[Mount]
|
|
|
|
What=tracefs
|
|
|
|
Where=/sys/kernel/tracing
|
|
|
|
Type=tracefs
|
|
|
|
Options=nosuid,nodev,noexec
|