From b1cfeeef218d8e65aa982485f54613bf3deb3fd5 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Mon, 12 Jan 2026 09:48:54 +0100 Subject: [PATCH] BUG/MINOR: stats-file: Use a 16bits variable when loading tgid Now that the tgid stored in the stats file has been increased to 16bits by commit 022cb3ab7fdce74de2cf24bea865ecf7015e5754, don't forget to increase the variable size when reading it from the file, too. This should have no impact given the maximum thread group limit is still 32. --- src/stats-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stats-file.c b/src/stats-file.c index 295e05afc..117707e01 100644 --- a/src/stats-file.c +++ b/src/stats-file.c @@ -739,7 +739,7 @@ static void shm_stats_file_preload(void) while (it < objects) { struct guid_node *node; uint64_t users; - uint8_t obj_tgid; + uint16_t obj_tgid; curr_obj = SHM_STATS_FILE_OBJECT(shm_stats_file_hdr, it);