instrument_memcpy_after(9)
π
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:
instrument_read(9)instrument_write(9)instrument_read_write(9)instrument_atomic_read(9)instrument_atomic_write(9)instrument_atomic_read_write(9)instrument_copy_to_user(9)instrument_copy_from_user_before(9)instrument_copy_from_user_after(9)instrument_memcpy_before(9)instrument_get_user(9)instrument_put_user(9)
cute little sign-off: this pageβs source/version is ./include/linux and itβs 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