instrument_memcpy_after(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… instrument_memcpy_after(9) πŸ’…

okay so bestie, we’re in the Kernel API Manual, and this page is all about that post-memcpy instrumentation glow-up ✨


✨ NAME ✨

instrument_memcpy_after β€” add instrumentation after a non-instrumented memcpy πŸ’–


🌸 SYNOPSIS 🌸

void instrument_memcpy_after (void *to , const void *from , unsigned long n , unsigned long left );

πŸŽ€ ARGUMENTS πŸŽ€

  • to β€” the destination address 🎯
  • from β€” the source address 🫢
  • n β€” number of bytes to copy 🌈
  • left β€” number of bytes not copied, if known πŸ‘€

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this is for instrumenting memory accesses that happen inside custom memcpy implementations πŸ’…. The instrumentation should be inserted after the memcpy call β€” that’s the whole vibe of this one, bestie ✨


πŸ’– SEE ALSO πŸ’–

Kernel file ./include/linux/instrumented.h plus all these iconic little functions:


cute little sign-off: this page’s source/version is ./include/linux and it’s dated October 2026 πŸŽ€πŸ’œ

πŸ“¦ where this page comes from