- Event based collection using Assess
config
AMDuProfCLI collect --config assess -o <output-dir> <application> - Event based collection using Investigate Branch config with
callstack
AMDuProfCLI collect --config branch -g -o <output-dir> <application> - Event based collection using individual predefined
events
AMDuProfCLI collect -e cycles-not-in-halt -e retired-inst -o <output-dir> <application> - Event based collection using individual hardware event
IDs
AMDuProfCLI collect -e event=pmcx76,interval=250000 -e event=pmcxc0,user=1,os=0,interval=250000 -o <output-dir> <application>
Once profile data collection completes, session directory will be generated. Use session directory to generate the csv report (or) to import the session in GUI.
Refer Table 1for all supported options.
Example
[amd@uprof-ethanolx5 bin]$ ./AMDuProfCLI collect --config assess-g -o /tmp/ /tmp/ScimarkStable
Profiling started
………
Profiling (data collection) completed
Generated data files path: /tmp/AMDuProf-ScimarkStable-EBP_Sep-05-2024_21-43-08
Here, the generated session directory is /tmp/AMDuProf-ScimarkStable-EBP_Sep-05-2024_21-43-08.
Options
| CLI option | GUI option | Description |
|---|---|---|
| --config <config> | Predefined Configs | Predefined sampling configuration to be used to
collect samples. Use the command info --list
collect-configs to get the list of supported configs.
Multiple occurrences of --config are
allowed. |
| -e | --event or <predefined-event> | Predefined Configs > Custom Configs |
A predefined event can be directly be used with
Note:
When these arguments are not passed, the default values are:
Use the following commands as required:
|