Project

General

Profile

Actions

Bug #2558

closed

bump dtrace_helper_actions_max to 1024

Added by Joshua M. Clulow over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Category:
DTrace
Start date:
2012-03-29
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

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.

Upstream: https://github.com/joyent/illumos-joyent/commit/853b701138090d80d57821a1a0c1322cbc63d354

Actions #1

Updated by Eric Schrock over 9 years ago

  • Status changed from In Progress to Resolved

changeset: 13652:3a9ce5c9da15
tag: tip
user: Dave Pacheco <>
date: Fri Mar 30 05:41:25 2012 -0700

description:
2558 bump dtrace_helper_actions_max to 1024
Reviewed by: Bryan Cantrill <>
Reviewed by: Joshua M. Clulow <>
Reviewed by: Richard Lowe <>
Reviewed by: Adam Leventhal <>
Reviewed by: Richard Elling <>
Approved by: Eric Schrock <>

modified:
usr/src/uts/common/dtrace/dtrace.c

Actions

Also available in: Atom PDF