blob: a3b060cde0105f0c677523093a71dcfa268fb77f (
plain)
1
2
3
4
5
6
7
|
#! 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)
}
|