Skip to content

Commit

Permalink
Fixed compilation issue for Telluride and added a new uC metric set f…
Browse files Browse the repository at this point in the history
…or trace (#8718)
  • Loading branch information
parthash0804 authored Jan 27, 2025
1 parent fdce01e commit 6e8ad73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if (XDP_VE2_BUILD_CMAKE STREQUAL "yes")
add_dependencies(xdp_aie_debug_plugin xdp_core xrt_coreutil)
target_link_libraries(xdp_aie_debug_plugin PRIVATE xdp_core xrt_coreutil xaiengine)
target_compile_definitions(xdp_aie_debug_plugin PRIVATE FAL_LINUX="on" XDP_VE2_BUILD=1)

target_include_directories(xdp_aie_debug_plugin PRIVATE ${CMAKE_SOURCE_DIR}/src)
install (TARGETS xdp_aie_debug_plugin
LIBRARY DESTINATION ${XDP_PLUGIN_INSTALL_DIR}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@ namespace xdp::aie::trace {
eventSets["uc_axis"] = {};
eventSets["uc_program_flow"] = {};
#else
eventSets["uc_dma"] = {
XAIE_EVENT_DMA_DM2MM_START_TASK_UC, XAIE_EVENT_DMA_DM2MM_FINISHED_BD_UC,
XAIE_EVENT_DMA_DM2MM_FINISHED_TASK_UC, XAIE_EVENT_DMA_MM2DM_START_TASK_UC,
XAIE_EVENT_DMA_MM2DM_FINISHED_BD_UC, XAIE_EVENT_DMA_MM2DM_FINISHED_TASK_UC};
eventSets["uc_dma_dm2mm"] = {
XAIE_EVENT_DMA_DM2MM_START_TASK_UC, XAIE_EVENT_DMA_DM2MM_FINISHED_BD_UC,
XAIE_EVENT_DMA_DM2MM_FINISHED_TASK_UC, XAIE_EVENT_DMA_DM2MM_LOCAL_MEMORY_STARVATION_UC,
Expand Down

0 comments on commit 6e8ad73

Please sign in to comment.