Project

General

Profile

Bug #7085

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

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

Status:
Closed
Priority:
Normal
Category:
DTrace
Start date:
2016-06-08
Due date:
% Done:

100%

Estimated time:
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 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 PDF