summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoon.c.baek <joon.c.baek@samsung.com>2018-07-10 15:52:57 +0900
committerjoon.c.baek <joon.c.baek@samsung.com>2018-07-10 15:52:57 +0900
commit501608db647086054cad32113fa1907ae9d8de28 (patch)
treed5cae4627284ddaf24621c77d704790383d79874
parent113d7551d2594e776eff710486cf16f317018605 (diff)
downloadttrace-tizen_4.0.tar.gz
ttrace-tizen_4.0.tar.bz2
ttrace-tizen_4.0.zip
To mount tracefs needs to check existed path, And add mount options in details. Change-Id: I9393c5629b8bf423d48ecec51fd4d99418d421cc Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
-rw-r--r--packaging/sys-kernel-debug-tracing.mount3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/sys-kernel-debug-tracing.mount b/packaging/sys-kernel-debug-tracing.mount
index 498745a..66f5c4f 100644
--- a/packaging/sys-kernel-debug-tracing.mount
+++ b/packaging/sys-kernel-debug-tracing.mount
@@ -8,6 +8,7 @@
[Unit]
Description=Trace File System
DefaultDependencies=no
+ConditionPathExists=!/sys/kernel/debug/tracing/trace
ConditionCapability=CAP_SYS_RAWIO
Before=sysinit.target
@@ -15,4 +16,4 @@ Before=sysinit.target
What=tracefs
Where=/sys/kernel/debug/tracing
Type=tracefs
-Options=remount,rw
+Options=remount,nosuid,nodev,noatime