You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
execute_process(COMMAND python ${CMAKE_CURRENT_SOURCE_DIR}/jevents.py all all ${CMAKE_CURRENT_SOURCE_DIR}/arch ${CMAKE_CURRENT_BINARY_DIR}/pmu-events.c)
set (SOURCE_FILES
${CMAKE_CURRENT_BINARY_DIR}/pmu-events.c
src/kernel-defs.c)
if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL x86_64)
list(APPEND SOURCE_FILES src/x86/util.c)
endif()
add_library(pmu-events ${SOURCE_FILES})
target_include_directories(pmu-events PUBLIC include)