Bug #7085

add support for "if" and "else" statements in dtrace

Added by Matthew Ahrens over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:2016-06-08
Priority:NormalDue date:
Assignee:Matthew Ahrens% Done:


Target version:-
Difficulty:Medium Tags:needs-triage


Add syntactic sugar to dtrace: "if" and "else" statements. The sugar is baked down to standard dtrace features by adding additional clauses with the appropriate predicates.


#1 Updated by Electric Monk over 2 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

git commit c3bd3abd8856e8e75d820f65c58031cd6cbac818

commit  c3bd3abd8856e8e75d820f65c58031cd6cbac818
Author: Matthew Ahrens <mahrens@delphix.com>
Date:   2016-08-11T23:23:34.000Z

    7085 add support for "if" and "else" statements in dtrace
    Reviewed by: Adam Leventhal <ahl@delphix.com>
    Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
    Reviewed by: Paul Dagnelie <pcd@delphix.com>
    Reviewed by: Bryan Cantrill <bryan@joyent.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom