You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the 'main' function of profile.c,I cannot define the attr.type to PERF_TYPE_HARDWARE because the virtualmachine has no entry to the performance count. After changed the code like these:
attr.type = PERF_TYPE_HARDWARE;
attr.size = sizeof(attr);
attr.config = PERF_COUNT_HW_CPU_CYCLES;
I can run the profile in my virtual machine. I would like to confirm if my views are correct.And could you tell me the differeces of these two type: PERF_TYPE_HARDWARE & PERF_TYPE_SOFTWARE? If I get the online cpus' information of kernel stacks and user stacks,what's the difference between I get these information from HARD or SOFT?
The text was updated successfully, but these errors were encountered:
In the 'main' function of profile.c,I cannot define the attr.type to PERF_TYPE_HARDWARE because the virtualmachine has no entry to the performance count. After changed the code like these:
attr.type = PERF_TYPE_HARDWARE;
attr.size = sizeof(attr);
attr.config = PERF_COUNT_HW_CPU_CYCLES;
I can run the profile in my virtual machine. I would like to confirm if my views are correct.And could you tell me the differeces of these two type: PERF_TYPE_HARDWARE & PERF_TYPE_SOFTWARE? If I get the online cpus' information of kernel stacks and user stacks,what's the difference between I get these information from HARD or SOFT?
The text was updated successfully, but these errors were encountered: