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

Eugene Loh eugene.loh at oracle.com
Wed Oct 9 04:58:03 UTC 2024


Okay, v5 coming up.  It's slightly rebranded as "Create the BPF 
usdt_names and usdt_prids maps".

On 10/7/24 12:57, Eugene Loh wrote:
> 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