Linux Device Driver >> SystemTap

hello, world!


參考資訊:
1. SystemTap_Beginners_Guide

main.stp

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

執行

$ sudo stap main.stp
    hello, world!


返回上一頁