Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
4554 Discussions

VTune: restricting counting to user mode generated events

Bernard
Black Belt
401 Views

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

 

 

Labels (1)
0 Kudos
1 Solution
Dmitry_P_Intel1
Employee
396 Views

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

 

View solution in original post

3 Replies
Dmitry_P_Intel1
Employee
397 Views

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

 

View solution in original post

Bernard
Black Belt
393 Views

Hi Dmitry,

Thank you very much.

That was the answer that I was looking for.

ArunJ_Intel
Moderator
376 Views

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


Reply