From 21620e3bdb746fdcf47264951b8d88f3e7242666 Mon Sep 17 00:00:00 2001 From: Guillaume Lagrange Date: Wed, 8 Apr 2026 17:16:36 +0200 Subject: [PATCH 1/2] chore: bump instrument-hooks to collect runtime libraries --- core/CMakeLists.txt | 2 +- core/instrument-hooks | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 1ef46df..5d69b44 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -15,7 +15,7 @@ include(FetchContent) FetchContent_Declare( instrument_hooks_repo GIT_REPOSITORY https://github.com/CodSpeedHQ/instrument-hooks - GIT_TAG e86719c70c9c0b1646db182a7c748230e243dace + GIT_TAG 0c971823b17cb5a3bbd0cce4411cbee2c6fe4317 ) FetchContent_MakeAvailable(instrument_hooks_repo) FetchContent_GetProperties(instrument_hooks_repo) diff --git a/core/instrument-hooks b/core/instrument-hooks index e86719c..0c97182 160000 --- a/core/instrument-hooks +++ b/core/instrument-hooks @@ -1 +1 @@ -Subproject commit e86719c70c9c0b1646db182a7c748230e243dace +Subproject commit 0c971823b17cb5a3bbd0cce4411cbee2c6fe4317 From c856e49567da7fff740518cb34ce93c3f9d4f82c Mon Sep 17 00:00:00 2001 From: Guillaume Lagrange Date: Wed, 8 Apr 2026 17:25:09 +0200 Subject: [PATCH 2/2] fix: use slugged name for environment section --- core/include/measurement.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/include/measurement.hpp b/core/include/measurement.hpp index 20f211a..ae773db 100644 --- a/core/include/measurement.hpp +++ b/core/include/measurement.hpp @@ -38,19 +38,19 @@ inline void measurement_set_metadata() { // Report C++ toolchain information #ifdef CODSPEED_CXX_COMPILER_ID - instrument_hooks_set_environment(g_hooks, "C++ Compiler", "compiler_id", + instrument_hooks_set_environment(g_hooks, "cpp", "compiler_id", CODSPEED_CXX_COMPILER_ID); #endif #ifdef CODSPEED_CXX_COMPILER_VERSION - instrument_hooks_set_environment(g_hooks, "C++ Compiler", "version", + instrument_hooks_set_environment(g_hooks, "cpp", "version", CODSPEED_CXX_COMPILER_VERSION); #endif #ifdef CODSPEED_CXX_COMPILER_FULL_VERSION - instrument_hooks_set_environment(g_hooks, "C++ Compiler", "build", + instrument_hooks_set_environment(g_hooks, "cpp", "build", CODSPEED_CXX_COMPILER_FULL_VERSION); #endif #ifdef CODSPEED_BUILD_TYPE - instrument_hooks_set_environment(g_hooks, "C++ Compiler", "build_type", + instrument_hooks_set_environment(g_hooks, "cpp", "build_type", CODSPEED_BUILD_TYPE); #endif instrument_hooks_write_environment(g_hooks, static_cast(getpid()));