Restructure code object source code (#826)

* public codeobj info

* Restructure code object source code file layout

* Update get_unloaded_code_objects + add iterate_loaded_code_objects

* Remove get_unloaded_code_objects from visible internal API

- iterate_loaded_code_objects + functor which filters on the hsa_executable_t effectively reproduces this behavior

* Whitespace removal

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
This commit is contained in:
Vladimir Indic
2024-04-25 21:03:04 +02:00
committato da GitHub
parent 67dbe3f47f
commit 733aa8e438
14 ha cambiato i file con 419 aggiunte e 159 eliminazioni
@@ -0,0 +1,9 @@
#
# code object data structures from HSA
#
set(ROCPROFILER_LIB_CODE_OBJECT_HSA_SOURCES code_object.cpp kernel_symbol.cpp)
set(ROCPROFILER_LIB_CODE_OBJECT_HSA_HEADERS code_object.hpp kernel_symbol.hpp)
target_sources(
rocprofiler-object-library PRIVATE ${ROCPROFILER_LIB_CODE_OBJECT_HSA_SOURCES}
${ROCPROFILER_LIB_CODE_OBJECT_HSA_HEADERS})