echo Setting up CAN interfaces ip link set can0 type can bitrate 1000000 ip link set up dev can0 ip link set can1 type can bitrate 1000000 ip link set up dev can1 # 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 &