systemtap script
probe begin {
printf(“probe started”);
}
probe end {
printf(“probe finished”);
}
probe kernel.function(“radix_tree_insert”).return {
if ($return) {
printf(“%s: comm %s, pid %d, retval %d\n”, probefunc(), execname(), pid(), $return);
print_backtrace();
}
}
Advertisement