#! stap -p2

probe begin {
    # println("task_struct: ", @cast_sizeof("task_struct"))
    println("task_struct: ", @cast_module_sizeof("kernel", "task_struct"))
    println("task_struct: ", @cast_module_sizeof("kernel<linux/sched.h>", "task_struct"))
    println("FILE: ", @cast_module_sizeof("<stdio.h>", "FILE"))
}

probe process("stap").function("main") {
    println("systemtap_session: ", @cast_sizeof("systemtap_session"))
}
