mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
aaaf42cb44
Kernel 4.1 separated the tracing system from the debugfs, actual documentation already points to a different path that needs this new mount to exist. the old sysfs path will still be an automount in the debugfs, created by the kernel (for now). Signed-off-by: Norbert Lange <nolange79@gmail.com>
24 lines
735 B
SYSTEMD
24 lines
735 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1+
|
|
#
|
|
# 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
|
|
Documentation=https://www.kernel.org/doc/Documentation/trace/ftrace.txt
|
|
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
|
|
DefaultDependencies=no
|
|
ConditionPathExists=/sys/kernel/tracing
|
|
ConditionCapability=CAP_SYS_RAWIO
|
|
Before=sysinit.target
|
|
|
|
[Mount]
|
|
What=tracefs
|
|
Where=/sys/kernel/tracing
|
|
Type=tracefs
|
|
Options=nosuid,nodev,noexec
|