convert_to_gcda(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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, or NULL if no data should be stored πŸ™ˆ no cap, NULL is valid here
  • info β€” 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 πŸ¦‹


xoxo, source/version ./kernel/gcov, dated October 2026 πŸ’…

πŸ“¦ where this page comes from