ref_reloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

ref_reloc(9) πŸ’…βœ¨

okay so welcome to the Kernel API Manual page for ref_reloc, bestie β€” it's giving kernel relocation offset realness and we're gonna get into it. No cap. 🫢


✨ NAME ✨

ref_reloc β€” kernel relocation offset. That's the whole vibe.

🌸 SYNOPSIS 🌸

u64 ref_reloc (struct kmap *kmap );

πŸŽ€ ARGUMENTS πŸŽ€

  • kmap β€” kernel maps and relocation reference symbol. It's the context baddie this function needs, iykyk. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so ref_reloc returns the offset of kernel addresses, and it figures that out by using the relocation reference symbol. Translation? If the kernel has not been relocated, then the return value is zero. That's it. That's the tea. β˜•βœ¨

No cap. 🧚

πŸ‘‘ SEE ALSO πŸ‘‘


mwah, signing off from the ./tools/perf/util source/version with the October 2026 date, ref_reloc(9) page β€” bye bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from