[DTrace-devel] top-of-file comment for one-parse-per-mapping world (was Re: [PATCH v3 06/21] dtprobed: add the DOF stash)

Nick Alcock nick.alcock at oracle.com
Thu Feb 15 12:27:48 UTC 2024


On 14 Feb 2024, Nick Alcock via DTrace-devel uttered the following:

> On 12 Feb 2024, Nick Alcock stated:
> The dof_parsed_t gains a new enumerand DIT_RELOC connected to this new
> entry in the unnamed union in dof_parsed_t (DOF_PARSED_VERSION 2):
>
> 		struct dpi_reloc {
> 			/*
> 			 * A location needing dofhp_addr-relative relocation.
> 			 */
> 			size_t offset;
> 		};

... and obviously there is also an offset associated with each
tracepoint too, which is simply blindly matched to reloc offsets in
dof_stash.c when it applies the relocs.

Obviously. I didn't forget that at all.



More information about the DTrace-devel mailing list