#! stap -p2 # PR 1155 discusses the trouble with inlines, but ideally this should work. probe kernel.function("context_switch") { printf("switch from=0x%x to=0x%x\n", $prev, $next) }