Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Black Belt
157 Views

VTune: restricting counting to user mode generated events

Jump to solution

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

Accepted Solutions
Highlighted
152 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
Highlighted
153 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

Highlighted
Black Belt
149 Views

Hi Dmitry,

Thank you very much.

That was the answer that I was looking for.

0 Kudos
Highlighted
Moderator
132 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


0 Kudos