Re: [Xen-devel] Operf and Opreport outputs

2017-07-06 Thread dhara buch
Hello, I tried the perf-hello.c file and found the results as you explained. It is very helpful to me. Now, for PERF_COUNT_HW_BRANCH_MISSES, I am getting varying values every time unlike PERF_COUNT_HW_INSTRUCTIONS. To get count for only defined process, I am trying to set perf_event_attr structur

Re: [Xen-devel] Operf and Opreport outputs

2017-06-19 Thread dhara buch
Hello, Thanks a lot for the detailed explanation. I could understand the working of operf and opreport. Unlike operf, ocount counts each occurrence of the monitored event. In such a case, why ocount also gives varying values of CPU_CLK_UNHALTED even when the monitored code doesn't get changed. Is

[Xen-devel] Operf and Opreport outputs

2017-06-16 Thread dhara buch
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. oper