Hi Christian, On 2025-06-29 12:45, Christian Kastner wrote:
I packaged CxxHeaderParser because some ROCm stuff depended on it [1], so there's a good chance that this is indeed a drop-in replacement. (I don't remember for what I needed it, though...)
CppHeaderParser was used for the ROCm performance profiling stack. It was used by rocm-hipamd to generate certain headers used by roctracer. The roctracer library also used it to generate code used for libroctracer. I packaged src:roctracer for Debian, but I patched the build so that it didn't actually build libroctracer itself (only generating a package for libroctx64).
The bad news is that CxxHeaderParser package is not a drop-in replacement and roctracer continues to use CppHeaderParser. The good news is that roctracer is effectively deprecated upstream and has been replaced by rocprofiler-sdk, which does not seem to use either parser [1].
The great news is that aqlprofile has finally been open sourced [2]. It took over seven years, so this has been a long time coming [3]. I believe this means that it will now be possible to package the ROCm GPU profiling stack in Debian.
Sincerely, Cory Bloor [1]: https://github.com/ROCm/rocprofiler-sdk [2]: https://github.com/ROCm/aqlprofile[3]: https://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/open-source-amd-linux/1003883-gpuvm-discrete-gpu-code-for-amdkfd-radeon-compute-could-be-ready-for-linux-4-17/page2#post1004038