[Bug 207735] www/firefox: DTRACE no longer works since 41.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 25 00:05:32 UTC 2016


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

--- Comment #5 from Mark Johnston <markj at 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.


More information about the freebsd-dtrace mailing list