ROCm / rocprofiler-compute

Advanced Profiling and Analytics for AMD Hardware
https://rocm.docs.amd.com/projects/omniperf/en/latest/
MIT License
135 stars 49 forks source link

Kernel name demangle #157

Closed JoseSantosAMD closed 1 year ago

JoseSantosAMD commented 1 year ago

Closes #142

coleramos425 commented 1 year ago

In order for demangler to work in CLI analysis mode we'll need to reference kernel_name_shortner() from inside profile mode. Thus overwriting mangled KernelNames in CSVs (as part of profiling pipeline).

It seems most logical to move the --kernelVerbose flag into profile mode and give the user the option to toggle the demangling from here

coleramos425 commented 1 year ago

@JoseSantosAMD isn't there a new package required for llvm-cxxfilt? If it's a Python package we need to make sure it's included in the requirements.txt, otherwise we'll have to make sure it's listed in our docs.

JoseSantosAMD commented 1 year ago

No, it uses /opt/rocm/llvm/bin/llvm-cxxfilt