summaryrefslogtreecommitdiffstats
path: root/ci/envs/enable-trace.sh
diff options
context:
space:
mode:
authorkalyanreddy <reddyx.gundarapu@intel.com>2017-04-06 14:54:53 +0530
committerKalyan reddy Gundarapu <reddyx.gundarapu@intel.com>2017-04-06 17:58:27 +0000
commit59f4cd802bd14efc8d09f32363eea17f5ad994bb (patch)
tree8247ccd6641748175cbe5a8c701e9fc0e046b8ff /ci/envs/enable-trace.sh
parentd35ab4afe0526d3cd9b56b321791dc7730081f9a (diff)
This patch includes few script updates to eliminate the
enabling of function tracer from the script to enable ftrace for future debugging purposes. Change-Id: Ib2e9edb9ea9c8c2ed3bb184fe6b6f4ca6601633b Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
Diffstat (limited to 'ci/envs/enable-trace.sh')
-rwxr-xr-xci/envs/enable-trace.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/ci/envs/enable-trace.sh b/ci/envs/enable-trace.sh
index e360de137..93e24cb38 100755
--- a/ci/envs/enable-trace.sh
+++ b/ci/envs/enable-trace.sh
@@ -47,12 +47,11 @@ bash -c "echo 1 > $TRACEDIR/events/kvm/enable"
bash -c "echo 1 > $TRACEDIR/events/workqueue/enable"
bash -c "echo 1 > $TRACEDIR/events/power/enable"
bash -c "echo 1 > $TRACEDIR/events/signal/enable"
-
-bash -c "echo 1 > events/tlb/enable"
+bash -c "echo 1 > $TRACEDIR/events/tlb/enable"
# Clean original log info
bash -c "echo > $TRACEDIR/trace"
-bash -c "echo function > $TRACEDIR/current_tracer"
+#bash -c "echo function > $TRACEDIR/current_tracer"
sysctl kernel.ftrace_enabled=1
#echo 0 >tracing_on; sleep 1; echo 1 >tracing_on; sleep 20; echo 0 >tracing_on;sleep 1; cat trace >/tmp/123.txt
bash -c "echo 1 >$TRACEDIR/tracing_on"