Project

General

Profile

Bug #13577

Kernel SDT probes should be more modular

Added by Jason King about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
DTrace
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Currently, all kernel SDT probes across all modules must define their SDT probe arguments in usr/src/uts/dtrace/sdt_subr.c in order for dtrace to be aware of the types of the probe's arguments. This high degree of coupling seems less than ideal.

Ideally, a kernel module would register its SDT probes (including the argument types) during attachment or in its _init method in some manner. That way sdc_subr.c would not need to be aware of every kernel module in existence that uses SDT probes.


Related issues

Related to illumos gate - Bug #13578: dtrace SDT probes missing argument typesNew

Actions
#1

Updated by Jason King about 2 months ago

  • Related to Bug #13578: dtrace SDT probes missing argument types added

Also available in: Atom PDF