驅動程式 - Linux Device Driver(LDD) - SystemTap - Hello, world!



參考資訊:
https://sourceware.org/systemtap/SystemTap_Beginners_Guide.pdf

main.stp

probe oneshot
{
    printf("Hello, world!\n")
}

執行

$ sudo stap main.stp
    Hello, world!