Convert counter def format to YAML (#976)
* Convert counter def format to YAML
Converts counter definition format to YAML with the
following structure:
```yaml
COUNTER_NAME:
architectures:
gfxXX: // Can be more than one, / deliminated if they share idential data
block: <Optional>
event: <Optional>
expression: <optional>
description: <Optional> // In case per arch notes are needed
gfxYY:
...
description: General counter desctiption
```
All counters (derived and hardware) are now defined
in the same file for ease of future additions/subtractions.
Removes existing XML parser. Keeps the existing XML
definitions for now (since other tools still rely on
its presence).
Dieser Commit ist enthalten in:
committet von
GitHub
Ursprung
2be3543c7b
Commit
34897d318f
Vendored
+15
@@ -126,6 +126,21 @@ if(NOT TARGET PTL::ptl-static)
|
||||
add_subdirectory(ptl EXCLUDE_FROM_ALL)
|
||||
endif()
|
||||
|
||||
rocprofiler_checkout_git_submodule(
|
||||
RECURSIVE
|
||||
RELATIVE_PATH external/yaml-cpp
|
||||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
||||
REPO_URL https://github.com/jbeder/yaml-cpp.git
|
||||
REPO_BRANCH "master")
|
||||
|
||||
add_subdirectory(yaml-cpp EXCLUDE_FROM_ALL)
|
||||
|
||||
target_link_libraries(rocprofiler-yaml-cpp
|
||||
INTERFACE $<BUILD_INTERFACE:yaml-cpp::yaml-cpp>)
|
||||
target_include_directories(
|
||||
rocprofiler-yaml-cpp
|
||||
INTERFACE $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/external/yaml-cpp/include>)
|
||||
|
||||
# checkout submodule if not already checked out or clone repo if no .gitmodules file
|
||||
rocprofiler_checkout_git_submodule(
|
||||
RECURSIVE
|
||||
|
||||
+1
Submodul external/yaml-cpp hinzugefügt bei 1d8ca1f35e
In neuem Issue referenzieren
Einen Benutzer sperren