1 2 3 4 5
#! stap -p4 probe kernel.function("context_switch") { log ("switch from=" . hexstring($prev) . " to=" . hexstring($next)) }