X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/89d198f9565e5c693252280ed8154a8cb3d131b5..9253c06d4608f5bc173c782797f3339603e5064c:/ugw/ppc/S50ugw diff --git a/ugw/ppc/S50ugw b/ugw/ppc/S50ugw index f4147b6..3a61dff 100644 --- a/ugw/ppc/S50ugw +++ b/ugw/ppc/S50ugw @@ -5,4 +5,12 @@ ip link set up dev can0 ip link set can1 type can bitrate 1000000 ip link set up dev can1 -ugw -r mmapbusy & +# mount -t debugfs none /sys/kernel/debug +# cd /sys/kernel/debug/tracing/ +# echo function_graph > current_tracer +# echo mscan_start_xmit > set_graph_function +# echo > trace + +params=$(sed -e 's/.* ugw=|\([^"]*\)|.*/\1/' /proc/cmdline) + +ugw $params &