I am new using OProfile, so I wonder how to use it to count the total cycles needed to execute a custom program. Currently, I can start-stop the daemon. I try to use the program to test call-graph, but I get a Segmentation fault message. I am using a linux-2.6 kernel running under a P4-HT.

Thanks in advance,

Juan Carlos