https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207735

--- Comment #5 from Mark Johnston <ma...@freebsd.org> ---
(In reply to Jan Beich from comment #4)
Yes. Sorry, I've just been very busy with work.

I've spent more time looking at the code, and I think raising
DTRACE_FUNCNAMELEN
isn't a bad way to address the problem. I said in comment 3 that a buffer of
size DTRACE_FUNCNAMELEN is created for every single probe, but this isn't
right. It's only used when passing probe descriptions between userland and the
kernel, for instance when running dtrace -l, or when creating an enabling.

I'll look at DTrace memory usage with and without a change that doubles this
constant. Assuming I haven't missed anything, the difference should not be
significant. I'll also modify the DOF validation code so that we simply skip
probes with excessively long function names.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-dtrace@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
To unsubscribe, send any mail to "freebsd-dtrace-unsubscr...@freebsd.org"

Reply via email to