diff options
Diffstat (limited to 'include/xray')
-rw-r--r-- | include/xray/xray_records.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/xray/xray_records.h b/include/xray/xray_records.h index 2b415bbc9..8cfdeee8c 100644 --- a/include/xray/xray_records.h +++ b/include/xray/xray_records.h @@ -95,8 +95,11 @@ struct alignas(32) XRayRecord { // The thread ID for the currently running thread. uint32_t TId = 0; + // The ID of process that is currently running + uint32_t PId = 0; + // Use some bytes in the end of the record for buffers. - char Buffer[12] = {}; + char Buffer[8] = {}; } __attribute__((packed)); static_assert(sizeof(XRayRecord) == 32, "XRayRecord != 32 bytes"); @@ -115,8 +118,8 @@ struct alignas(32) XRayArgPayload { // The thread ID for the currently running thread. uint32_t TId = 0; - // Add more padding. - uint8_t Padding2[4] = {}; + // The ID of process that is currently running + uint32_t PId = 0; // The argument payload. uint64_t Arg = 0; |