Project

General

Profile

Bug #4248

dtrace(1M) should never create DOF with empty probes section

Added by Robert Mustacchi about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
DTrace
Start date:
2013-10-20
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Previously you could use dtrace -G and entirely mess up the invocation and end up creating zero probe sites. This leads to extended confusion from users as to why there is SUNW_dof section, but there are no probes.

#1

Updated by Robert Mustacchi about 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100

Resolved in 54a20ab41aadcb81c53e72fc65886e964e9add59.

#2

Updated by Alexander Pyhalov about 7 years ago

  • Status changed from Resolved to Feedback

With 54a20ab41aadcb81c53e72fc65886e964e9add59 commit a number of userland components can't be built with Dtrace support, including different mysql forks and Perl. Reverting it helps.

#3

Updated by Robert Mustacchi about 7 years ago

  • Status changed from Feedback to Resolved

Any userland component that was relying on this behavior is already broken. Any time that this breaks something it indicates you would have had zero DTrace probes. It sucks that we have to find bugs this way, but it's the reality of this. The world without this fix is even worse than the world with it.

Also available in: Atom PDF