Hello,

Many days ago you had helped me a lot in using Oprofile in Virtual Machine.
That time, I also had a query regarding getting information from 'opreport
--symbols --debuginfo' command.

Actually, I am profiling a file1.c file with the following commands...

1. gcc -g file1.c -o file1

2. operf ./file1 --events=CPU_CLK_UNHALTED

3. opreport --symbols --debuginfo

the output contains various lines where one line look follows:

samples  %        linenr info                 image name
symbol name

2       12.5000  rsaimp.c:16                 rsaimp                   MM
2        12.5000  rsaimp.c:34                 rsaimp                   main

When I execute commands 2 and 3 multiple times, each time I gwt the output
for symbole name MM (which is UDF in the program) but I don't get output
for main every time.

Additionally,'' the sample % also vary every time I file operf command. I
do not understand the working of operf that how it gives different outputs
for the same program.

Thanks,

Dhara Buch
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to