store_gcov_u32(9)
β¨ okay so welcome to store_gcov_u32(9), straight outta the Kernel API Manual β this is the little helper that handles storing a 32 bit number in gcov format to a buffer. Bestie, itβs giving βtiny utility, main character energyβ π
β¨
π NAME π
store_gcov_u32 β store 32 bit number in gcov format to buffer π«Ά
π¦ SYNOPSIS π¦
size_t store_gcov_u32 (void *buffer , size_t off , u32 v );
πΈ ARGUMENTS πΈ
bufferβ target buffer orNULLπoffβ offset into the buffer πvβ value to be stored π
β¨ DESCRIPTION β¨
The number format is defined by gcc, no cap: numbers are recorded in the 32 bit unsigned binary form of the endianness of the machine generating the file π§π. It returns the number of bytes stored. If buffer is NULL, it doesnβt store anything β literally nothing gets written, periodt.
π SEE ALSO π
Kernel file ./kernel/gcov/base.c, plus gcov_enable_events(9) and store_gcov_u64(9) β go give βem a lil read, iykyk π
mwah π this page is brought to you by the ./kernel/gcov source/version, dated October 2026, and itβs still store_gcov_u32(9) β bye bestie, slay responsibly π«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms