[DTrace-devel] [PATCH 05/19] Add flag to dt_pid_create_probes()
Eugene Loh
eugene.loh at oracle.com
Tue Sep 24 20:24:04 UTC 2024
Okay. I'll patch a v2, whose Subject will now be: "Split
dt_pid_create_probes() into pid and USDT functions". There are
cascading impacts on some other following patches. So, I'll post new
versions of those patches as well.
On 9/18/24 16:33, Kris Van Hees wrote:
> On Thu, Aug 29, 2024 at 01:25:44AM -0400, eugene.loh at oracle.com wrote:
>> From: Eugene Loh <eugene.loh at oracle.com>
>>
>> The function dt_pid_create_probes() creates both pid and usdt probes.
>> Once the dtrace session has started, however, we only need to watch
>> for new usdt probes. So add a usdt_only argument to the function.
> It would be better I think to create two functions, one for trying to match pid
> probes, and one for trying to match USDT probes, and to call those two functions
> from dt_pid_create_probes(). And then, after tracing has started, only the one
> dealing with USDT probes needs to be called.
More information about the DTrace-devel
mailing list