* Provide rocprofiler_register_iterate_registration_info function
- stores the runtime arguments for later reference
* Fix compilation error
* Removed unused variable
* Store api tables in vector
* Update license
* Replace global_mutex usage with scoped_count
- in rocp_invoke_registrations
* Formatting
---------
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
* General logging updates
* ROCm 6.1.x fatal defect: unconditional abort if tool found but rocprofiler-sdk missing
- Adding rocprofiler-sdk support breaks backwards compatibility in ROCm 6.1.x because `rocprofiler_configure` symbol triggers looking for rocprofiler-sdk library (which was not released until ROCm 6.2)
- Bump version to 0.5.0
* revert to using fatal error
* Include header updates
* Fix CodeQL suggestions
* CMake and CI updates
- minimum cmake version is 3.22.0
- added requirements.txt
- improved rocprofiler_register_{formatting,linting}.cmake
* Disable deprecated declarations warnings
* Use "overwrite" instead of "override"
- override is a keyword in C++
* Disable REQUIRED for formatting and linting when BUILD_DEVELOPER=ON
---------
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
* Add rocDecode API support
* Update CI
* CI update: Sanitizers run on ubuntu 22.04
---------
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
- move install command for license to rocprofiler_register_config_install.cmake
- CPACK_RPM_PACKAGE_LICENSE should be set to license type (i.e. "MIT"), not the path to the license file
* SWDEV-448381 - CPACK dependency list should be comma separated
* Remove redundant code and update the dependency list in first place
* Update cmake/rocprofiler_register_config_packaging.cmake
---------
Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
* Search for rocprofiler_set_api_table(...) via RTLD_DEFAULT
- check if rocprofiler_set_api_table function has already been loaded via dlsym(RTLD_DEFAULT, ...)
- fix warning about conflicting ROCM_DEP_ROCMCORE and ROCPROFILER_REGISTER_DEP_ROCMCORE
* Bump version to 0.4.0
* Correct the install locations of cmake config files
The cmake config files should be installed in <Install_Prefix>/lib/cmake/<component_name>
* Apply suggestions from code review
* Correct the install locations of cmake config files
- ROCm standard for cmake config files is <install-prefix>/lib/cmake/<package-name>
---------
Co-authored-by: Ranjith Ramakrishnan <Ranjith.Ramakrishnan@amd.com>
* Fix packaging
- Bump version to 0.3.0
- Set CMAKE_INSTALL_DEFAULT_COMPONENT at high level
- Fix HOMEPAGE_URL
- Update install components
- Install tests directory
- Create two separate packages: core and tests
- Auto-generate deps based on shared libs (DEB and RPM)
- Auto-generate list of shared libs provided by package (DEB and RPM)
- cleanup cmake/rocprofiler_register_utilities.cmake
* Enable sanitizer jobs
* Update cmake/rocprofiler_register_memcheck.cmake
- set env for LD_PRELOAD
* Update tests for sanitizer jobs
* Remove loading librocprofiler64.so
- this library does not have rocprofiler_set_api_table symbol
* Link to static fmt library
* Update lib/rocprofiler-register/details/dl.cpp
- change default_link_open_modes to only use LAZY + NOLOAD
* Update lib/rocprofiler-register/rocprofiler-register.cpp
- Support HIP compiler table
- changed FATAL logging to WARNING in rocp_load_rocprofiler_lib
* Update VERSION
- bump to 0.2.0
* Fix support for version in find_package(rocprofiler-register <version>)
* Update lib/rocprofiler-register/rocprofiler-register.cpp
- change rocprofiler library name to librocprofiler-sdk.so
- add helper function rocp_load_rocprofiler_lib for dlopen of rocprofiler library
- support ROCP_TOOL_LIBRARIES environment variable
- reworked rocprofiler_register_error_string
* Update tests/rocprofiler
- rename library to librocprofiler-sdk
- remove rocprofiler_configure within librocprofiler-sdk.so
* Add tests/generic-tool
- provides implementation of rocprofiler_configure
* Update tests/CMakeLists.txt
- use libgeneric-tool.so
- LD_PRELOAD libgeneric-tool.so instead of librocprofiler
- Add tests which use ROCP_TOOL_LIBRARIES
* Update tests/generic-tool/generic-tool.cpp
- include <cstdint>
* Add lib/rocprofiler-register/details/filesystem.hpp
- this provides backwards compatibility for compiler which do not have <filesystem>
- use <experimental/filesystem> when not available
* Update tests/CMakeLists.txt
- test executables link to dl library (via CMAKE_DL_LIBS)
* Update CI workflow
- include ubuntu-20.04 jobs
* Update README
- Overview
- Contributing
- Build and install
* Update workflows
- branches reflect new amd-mainline and amd-staging names instead of main and develop
* Added submodules for glog/fmt
Removes existing printing/formatting code.
* Update external/CMakeLists.txt
Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
* Update external/CMakeLists.txt
Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
* Update external/CMakeLists.txt
- checkout submodule if not already checked out or clone repo if no .gitmodules file
- find_package(... REQUIRED)
* Disable tests from external directory
* Update external/CMakeLists.txt
- fix type: BRANCH -> REPO_BRANCH
* Update cmake/rocprofiler_register_formatting.cmake
- Include external/CMakeLists.txt in format-cmake target
- include format-cmake in format target
* Fix cmake options
- ROCPROFILE_REGISTER_* -> ROCPROFILER_REGISTER_*
* Update rocprofiler_register_linting.cmake
- fix header filter to exclude external headers
- enable warning-as-errors except for misc-header-include-cycle because that originates in fmt headers
* Fix clang-tidy error in utility.cpp
- a bit out of place in this PR but caught due to --warning-as-errors addition
---------
Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>