improving rocprof tracing usage
Change-Id: I4db513c93406a7038b8b681d12a0dc4298975f01
This commit is contained in:
@@ -143,6 +143,15 @@ usage() {
|
||||
echo " --stats - generating kernel executino stats"
|
||||
echo " --hsa-trace - to trace HSA, generates API execution stats and JSON file viewable in chrome tracing"
|
||||
echo " --hip-trace - to trace HIP, generates API execution stats and JSON file viewable in chrome tracing"
|
||||
echo " Generated files: <output name>.hsa_stats.txt <output name>.json"
|
||||
echo " Traced API list can be set by input .txt or .xml files."
|
||||
echo " Input .txt:"
|
||||
echo " hsa: hsa_queue_create hsa_amd_memory_pool_allocate"
|
||||
echo " Input .xml:"
|
||||
echo " <trace name=\"HSA\">"
|
||||
echo " <parameters list=\"hsa_queue_create, hsa_amd_memory_pool_allocate\">"
|
||||
echo " </parameters>"
|
||||
echo " </trace>"
|
||||
echo ""
|
||||
echo "Configuration file:"
|
||||
echo " You can set your parameters defaults preferences in the configuration file 'rpl_rc.xml'. The search path sequence: .:${HOME}:<package path>"
|
||||
|
||||
@@ -975,7 +975,7 @@ extern "C" PUBLIC_API void OnLoadToolProp(rocprofiler_settings_t* settings)
|
||||
else if (opt.first == "copy") to_copy_data = (opt.second == "true");
|
||||
else fatal("ROCProfiler: Bad trace property '" + opt.first + "'");
|
||||
}
|
||||
|
||||
|
||||
// Parsing parameters
|
||||
std::map<std::string, hsa_ven_amd_aqlprofile_parameter_name_t> parameters_dict;
|
||||
parameters_dict["TARGET_CU"] =
|
||||
|
||||
Reference in New Issue
Block a user