diff options
author | Vishal Mahaveer | 2017-01-05 18:26:00 -0600 |
---|---|---|
committer | Vishal Mahaveer | 2017-01-06 10:31:27 -0600 |
commit | 4a57861a38546a966f155fa8a20ef095fe416309 (patch) | |
tree | 048d11a9a727d1e0369d7f44cec52182db8e0867 | |
parent | d3c2ec42e4d6cf732e993dd88857a0995443343b (diff) | |
download | device-ti-jacinto6evm-4a57861a38546a966f155fa8a20ef095fe416309.tar.gz device-ti-jacinto6evm-4a57861a38546a966f155fa8a20ef095fe416309.tar.xz device-ti-jacinto6evm-4a57861a38546a966f155fa8a20ef095fe416309.zip |
jacinto6evm: enable systrace functionality
Enable systrace support for jacinto6evm. Most of the permission
configurations are done by "init.trace.rc", these are additional
permissions needed.
Change-Id: Ib9cbbcab88e4758c269f3bdbf4fd754086f74666
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rw-r--r-- | init.jacinto6evmboard.rc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/init.jacinto6evmboard.rc b/init.jacinto6evmboard.rc index 8d30a83..77ca7a0 100644 --- a/init.jacinto6evmboard.rc +++ b/init.jacinto6evmboard.rc | |||
@@ -1,7 +1,7 @@ | |||
1 | import init.jacinto6evmboard.usb.rc | 1 | import init.jacinto6evmboard.usb.rc |
2 | 2 | ||
3 | on early-init | 3 | on early-init |
4 | mount debugfs /sys/kernel/debug /sys/kernel/debug | 4 | mount debugfs /sys/kernel/debug /sys/kernel/debug mode=755 |
5 | 5 | ||
6 | on init | 6 | on init |
7 | # Support legacy paths | 7 | # Support legacy paths |
@@ -36,6 +36,11 @@ on boot | |||
36 | # 2d blitter | 36 | # 2d blitter |
37 | insmod /system/lib/modules/galcore.ko physSize=0xc0000000 | 37 | insmod /system/lib/modules/galcore.ko physSize=0xc0000000 |
38 | 38 | ||
39 | # Set up kernel tracing, but disable it by default | ||
40 | chmod 0222 /sys/kernel/debug/tracing/trace_marker | ||
41 | write /sys/kernel/debug/tracing/tracing_on 0 | ||
42 | chmod 0755 /sys/kernel/debug/tracing | ||
43 | |||
39 | on fs | 44 | on fs |
40 | mkdir /factory 0775 radio radio | 45 | mkdir /factory 0775 radio radio |
41 | mount_all /fstab.jacinto6evmboard | 46 | mount_all /fstab.jacinto6evmboard |