summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
89d198f)
Kernel command line can be easily set with novaboot "-a" option.
ip link set can1 type can bitrate 1000000
ip link set up dev can1
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 &