bump dtrace_helper_actions_max to 1024
DTrace helper actions can be loaded by programs that wish to provide deeper insight into their operation, in particular to allow them to better describe non-C stack trace frames. As the DTrace Intermediate Format does not allow backward branches, any loops must be implemented unrolled to a fixed depth. Each iteration is generally a new action with its own predicate and building a ustack helper can potentially require more than the default 32 actions allowed per process. Node.js is an example of one such piece of software.
Dave Pacheco from Joyent bumped the default cap on helper actions from 32 to 1024 in their fix for OS-821. We should integrate this fix.
Updated by Eric Schrock over 9 years ago
- Status changed from In Progress to Resolved
user: Dave Pacheco <email@example.com>
date: Fri Mar 30 05:41:25 2012 -0700
2558 bump dtrace_helper_actions_max to 1024
Reviewed by: Bryan Cantrill <firstname.lastname@example.org>
Reviewed by: Joshua M. Clulow <email@example.com>
Reviewed by: Richard Lowe <firstname.lastname@example.org>
Reviewed by: Adam Leventhal <email@example.com>
Reviewed by: Richard Elling <firstname.lastname@example.org>
Approved by: Eric Schrock <email@example.com>