The NULL value of an internal correlation ID defined (#901)

This commit is contained in:
Vladimir Indic
2024-06-10 16:12:01 +02:00
committed by GitHub
parent 211ee219c4
commit b4f7154716
3 changed files with 12 additions and 4 deletions
+8
View File
@@ -22,6 +22,8 @@
#pragma once
#include <stdint.h>
/**
* @defgroup SYMBOL_VERSIONING_GROUP Symbol Versions
*
@@ -129,3 +131,9 @@
# define ROCPROFILER_EXTERN_C_FINI
# define ROCPROFILER_CXX_CODE(...)
#endif
#if __cplusplus
# define ROCPROFILER_UINT64_C(value) uint64_t(value)
#else
# define ROCPROFILER_UINT64_C(value) UINT64_C(value)
#endif
+2 -2
View File
@@ -520,9 +520,9 @@ typedef struct
} rocprofiler_correlation_id_t;
/**
* @brief The NULL correlation ID value.
* @brief The NULL value of an internal correlation ID.
*/
#define ROCPROFILER_CORRELATION_ID_VALUE_NONE 0ULL
#define ROCPROFILER_CORRELATION_ID_INTERNAL_NONE ROCPROFILER_UINT64_C(0)
/**
* @struct rocprofiler_buffer_id_t