Hi, I want to trace page faults in my program. The result I wanted like this: 1st page fault at addrA. 2nd page fault at addrB. 3rd page fault at addrC ...
Perf seems providing this function, but I can't get what I want. I use Perf on Fedora 14(kernel 2.6.35). The following is what I have done in my machine. Thanks for help in advance. [root@localhost lab]# perf record -R -c 1 -d -e faults ./hello hello,world [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.010 MB perf.data (~418 samples) ] [root@localhost lab]# perf trace Fatal: no event_list! -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
