From: Michal Sojka Date: Sun, 12 Jan 2014 23:24:13 +0000 (+0100) Subject: Added ftrace config (commented oud) X-Git-Tag: fix-allnoconfig~89 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/commitdiff_plain/d399660214ce5d4d754f8dbd3ec204986500ef20 Added ftrace config (commented oud) --- diff --git a/ugw/ppc/S50ugw b/ugw/ppc/S50ugw index 3a61dff..01a0598 100644 --- a/ugw/ppc/S50ugw +++ b/ugw/ppc/S50ugw @@ -5,12 +5,26 @@ ip link set up dev can0 ip link set can1 type can bitrate 1000000 ip link set up dev can1 +set -x + +# ifconfig eth0 192.168.2.3 +# (echo boa; echo boa) | passwd + +params=$(sed -e 's/.* ugw=|\([^"]*\)|.*/\1/' /proc/cmdline) + # mount -t debugfs none /sys/kernel/debug # cd /sys/kernel/debug/tracing/ +# echo 0 > tracing_on # echo function_graph > current_tracer -# echo mscan_start_xmit > set_graph_function +# # echo mscan_start_xmit > set_graph_function +# cat > set_ftrace_notrace < set_graph_function # echo > trace - -params=$(sed -e 's/.* ugw=|\([^"]*\)|.*/\1/' /proc/cmdline) +# echo 60000 > buffer_size_kb +# echo 1 > tracing_on ugw $params &