- Collection using Instruction Based Sampling
config
AMDuProfCLI collect --config ibs -o <output-dir> <application> - Collection using Instruction Based Sampling config with
callstack
AMDuProfCLI collect --config ibs -g -o <output-dir> <application> - Collection using individual IBS
events
AMDuProfCLI collect -e event=IBS_ALL_OPS,interval=250000 -e event=IBS_FETCH,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 1 for all supported options.
Example
[amd@uprof-ethanolx5 bin]$ ./AMDuProfCLI collect --config ibs -g -o /tmp/ /tmp/ScimarkStable
Profiling started
………
Profiling (data collection) completed
Generated data files path: /tmp/AMDuProf-ScimarkStable-IBS_Sep-05-2024_21-43-08
Here, the generated session directory is /tmp/AMDuProf-ScimarkStable-IBS_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. |
| -e | --event or <predefined-event> | Predefined Configs > Custom Configs |
A predefined event can be directly be used with
Note:
Use the following commands as required:
|