Hello,
Linux perf posses an option an "u" switch to restrict the event counting to user mode code triggers only. Does VTune (its console version) posses a corresponding switch to enable only user mode performance event counting?
I thoroughly inspected the available command line switches and have not seen that option existing.
Thank you
Hello,
It is possible with a custom analysis type that you can compose yourself (-collect-with action in CL) or derive from a predefined analysis type using GUI and then generate a command line from it. In the custom analysis type you can add "-knob event-mode=user" to collect only user mode samples.
Thanks & Regards, Dmitry
Hello,
It is possible with a custom analysis type that you can compose yourself (-collect-with action in CL) or derive from a predefined analysis type using GUI and then generate a command line from it. In the custom analysis type you can add "-knob event-mode=user" to collect only user mode samples.
Thanks & Regards, Dmitry
Hi Dmitry,
Thank you very much.
That was the answer that I was looking for.
Hi iliyapolak,
Glad to know that your issue is resolved. We won't be monitoring this thread anymore. Kindly raise a new thread if you need further assistance.
Thanks
Arun
For more complete information about compiler optimizations, see our Optimization Notice.