Project

General

Profile

Actions

Bug #13577

open

Kernel SDT probes should be more modular

Added by Jason King almost 3 years ago.

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

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

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
Actions #1

Updated by Jason King almost 3 years ago

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

Also available in: Atom PDF