- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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:
- Hotspots -- no generated results
- 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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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.
Link kopiert
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi.
is it possible to share /tmp/vtune_data result?
Kirill
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
>>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.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi Kirill,
I'm sending you a ".sc" file.
Thank you
Best regards,
--Bernard
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Thank you
I will try those "report" commands out.
--Bernard
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
re-check import and reports with ".sc" file.
All repors were generated without any problems
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi Bernard,
Has the solution provided by Kirill worked for you ? Please let us know if the issue still persists.
Regards,
Raeesa
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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

- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite