BUG/MINOR: stats-file: Use a 16bits variable when loading tgid
Some checks are pending
Contrib / build (push) Waiting to run
alpine/musl / gcc (push) Waiting to run
VTest / Generate Build Matrix (push) Waiting to run
VTest / (push) Blocked by required conditions
Windows / Windows, gcc, all features (push) Waiting to run

Now that the tgid stored in the stats file has been increased to 16bits
by commit 022cb3ab7f, 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.
This commit is contained in:
Olivier Houchard 2026-01-12 09:48:54 +01:00
parent 022cb3ab7f
commit b1cfeeef21

View file

@ -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);