[DTrace-devel] [PATCH v4 07/19] Create the BPF usdt_prids map

Eugene Loh eugene.loh at oracle.com
Mon Oct 7 16:57:06 UTC 2024


On 10/7/24 11:52, Kris Van Hees wrote:

> Yes, I think that works fine.

Cool.  I'm adding a new test but will otherwise just refactor the 
changes into the patch series and repost this patch (and any other 
impacted patches) for new review.

> You probably could even just name it
> dtp->dt_nprobes (meaning the number of probes that is created statically),
> and introduce a NPROBES symbol that the relocator will fill in with the
> dtp->dt_nprobes value.  I assume you assign the dtp->dt_nprobes value when
> we start probing (e.g. when the probes BPF map is created)?

Right.



More information about the DTrace-devel mailing list