convert_to_gcda(9)
okay so bestie, welcome to convert_to_gcda(9) from the Kernel API Manual β¨ this one is literally about converting profiling data set to gcda file format, and it's short but iconic π
πΈ NAME πΈ
convert_to_gcda β convert profiling data set to gcda file format π
β¨ SYNOPSIS β¨
size_t convert_to_gcda (char *buffer , struct gcov_info *info );
π ARGUMENTS π
bufferβ the buffer to store file data, orNULLif no data should be stored π no cap,NULLis valid hereinfoβ the profiling data set to be converted β¨
π DESCRIPTION π
Returns the number of bytes that were/would have been stored into the buffer π«Ά
so like, that's the whole vibe: you get a byte count back, and if buffer is NULL, it's the count of what would have been stored, iykyk π
π¦ SEE ALSO π¦
- Kernel file
./kernel/gcov/gcc_4_7.cπ struct gcov_ctr_info(9)struct gcov_fn_info(9)struct gcov_info(9)gcov_info_filename(9)gcov_info_version(9)gcov_info_next(9)gcov_info_link(9)gcov_info_unlink(9)gcov_info_within_module(9)gcov_info_reset(9)gcov_info_is_compatible(9)gcov_info_add(9)gcov_info_dup(9)gcov_info_free(9)./kernel/gcovπ
xoxo, source/version ./kernel/gcov, dated October 2026 π
π¦ 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