Bug #7085

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

Added by Matthew Ahrens 11 months ago. Updated 9 months ago.

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

100%

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

Description

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.

History

#1 Updated by Electric Monk 9 months 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