Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Bernard
Black Belt
862 Views

Intel VTune CLI: supported reports with uarch-exploration and runsa collections

Jump to solution

Hi,

Usually I work with VTune GUI both for performance measurement and for results analysis.

At my work recently  I have started to use VTune CLI to run analysis and report the results, because we try to introduce automated profiling test runs.

I'm interested mainly in custom analysis of "runsa" type and "uarch-exploration",  but I'm not able to generate any results beside scarce "summary" report. I used two types of report command:

  1.  Hotspots -- no generated results
  2.  hw-events -- no generated results

The vtune.log did not indicate any serious problem, beside warning in regards to PEBS events not collected in VM environment. There was no any error in regards to "report" functionality.

I would like to know which "reports" are compatible with custom runsa and with uarch-exploration analysis.

Thank your for your help

--Bernard

 

 

0 Kudos
1 Solution
Dmitry_R_Intel1
Employee
741 Views

Yes you can use events modifiers which can be specified together with event delimited by colon. For example, this string:

MEM_INST_RETIRED.ALL_LOADS:sa=100000:os=no

will set period to 100000 and disable counting on 0 privilege level for the MEM_INST_RETIRED.ALL_LOADS event.

You can find the list of all supported modifiers and their descriptions in the SEP user guide here: https://software.intel.com/content/www/us/en/develop/download/sep-user-guide.html

Look for 'Event Modifiers' section.

View solution in original post

19 Replies
Kirill_U_Intel
Employee
857 Views

Hi.

is it possible to share /tmp/vtune_data result?

Kirill

Bernard
Black Belt
850 Views

Hi Kirill,

Thank you quick response.

I'm attaching a 4 files (zipped) generated by the perf collector.

Please let me know if you need additional files.

--Bernard

Kirill_U_Intel
Employee
842 Views

I need one more file. something like systemcollector-2284-nntpat98-59.sc.

I added all attached files to 'result' dir and called import

    vtune.exe -r result -import

after that I generated all types of reports that you mentioned

   summary, html summary, hotspots, hw-events

 

Bernard
Black Belt
837 Views

Hi Kirill,

I do not have an access to our remote server now, and I will provide that file (.sc) on Monday.

 

after that I generated all types of reports that you mentioned

   summary, html summary, hotspots, hw-events

Can you post the exact 'report' command for following reports types?

-- hotspots

-- hw-events

-- summary

In my case only a report "hotspot" worked for a -collection hotspot.

Now the question is -- which "report" commands work with which analysis types? Do following reports: "hotspots, hw-events, top-down, summary, callstacks, gprof-cc"  work with  "uarch-exploration" and with custom analysis  "collect-with-runsa"?

 

Thank you for your help

-- Bernard

 

Kirill_U_Intel
Employee
800 Views

>>Now the question is -- which "report" commands work with which analysis types? Do following reports: "hotspots, hw-events, top-down, summary, callstacks, gprof-cc"  work with  "uarch-exploration" and with custom analysis  "collect-with-runsa"?

 

I suppose that depends on collected data. Summary and hotspots should be applicable for the most collection. hw-events could be reported for hardware collection (hotspots, uarch-exploration) - you should have perf or tb7 or vtss data traces in result directory. Callstacks are for collection with stacks and so on.

Bernard
Black Belt
792 Views

This is what I wanted to know.

Anyway, the ".tb7" file or ".perf"  file can be always used with the VTune GUI version for  complete analysis.

Best regards,

--Bernard

Bernard
Black Belt
811 Views

Hi Kirill,

I'm sending you a ".sc" file.

Thank you

Best regards,

--Bernard

Tags (1)
Kirill_U_Intel
Employee
806 Views

I've used reports from you log

vtune.exe -r result -R summary

vtune.exe -r result -R hotspots

vtune.exe -r result -R -R summary -format=html

vtune.exe -r result -R hw-events -format=csv -csv-delimiter comma

 

Bernard
Black Belt
802 Views

Thank you

I will try those "report" commands out.

 

--Bernard

Kirill_U_Intel
Employee
803 Views

re-check import and reports with ".sc" file.

All repors were generated without any problems

RaeesaM_Intel
Moderator
771 Views

Hi Bernard,


Has the solution provided by Kirill worked for you ? Please let us know if the issue still persists.


Regards,

Raeesa


Bernard
Black Belt
759 Views

Hi Raeesa,

Yes this problem was solved.

I do not want to create a new thread, hence I'm asking this question here.

Does VTune CLI have an option of parametrization of  -knob event-config

For example I would like to lower the period, change the umask and require the higher skid reduction by using a "ppp" option.

The perf command below illustrates what I would like to set from the VTune CLI.

Is this possible?

 cpu/period=0x186a3,event=0xe6,umask=0x1,name=\'BACLEARS.ANY\'/u

 
 
Best regards,
 
--Bernard
Dmitry_R_Intel1
Employee
742 Views

Yes you can use events modifiers which can be specified together with event delimited by colon. For example, this string:

MEM_INST_RETIRED.ALL_LOADS:sa=100000:os=no

will set period to 100000 and disable counting on 0 privilege level for the MEM_INST_RETIRED.ALL_LOADS event.

You can find the list of all supported modifiers and their descriptions in the SEP user guide here: https://software.intel.com/content/www/us/en/develop/download/sep-user-guide.html

Look for 'Event Modifiers' section.

View solution in original post

Bernard
Black Belt
737 Views

Hi Dmitry,

Yes you can use events modifiers which can be specified together with event delimited by colon

This is the information I was looking for.

Thank you for quick response.

--Bernard

RaeesaM_Intel
Moderator
701 Views

Hi Bernard,


Glad to know that the explanation provided by Kirill and Dmitry helped you. This thread will be no longer supported by Intel. Please raise a new thread if you have any further queries.We would be happy to help you out.


Thanks and Regards,

Raeesa


Kirill_U_Intel
Employee
685 Views

One remark that I forgot to mention.

if you import results (vtune -import result), vtune creates new directory (something like r@@@ and so on)

Reports should be generated for new r@@@ directory.

 

 

Bernard
Black Belt
682 Views

Hi Kirill,

I figured that out.

I have  a question in regards to Dmitry answer.

The case of performance events modifiers -- I forgot to mention, that I'm using perf driverless collection mode.

Does driver-less mode support  "SEP" type modifiers syntax?

Thank you

--Bernard

Kirill_U_Intel
Employee
676 Views

It must.

VTune converts sep events string to perf cmd and ll modifiers are applicable for perf

If you open driverless result you could find 3 files: sep.events, map.events, perfcmd

sep.events - sep configuration

map.events - mapping sep events to perf events

perfcmd - perf commandline that VTune will use

Bernard
Black Belt
674 Views

I know those .events files and especially the perfcmd file it was very helpful to learn those arcane modifiers settings to run perf record and perf stat commands.

Thanks for explanation, now everything is clear.

--Bernard

Reply