Project

General

Profile

Feature #1694

Add type-aware print() action

Added by Eric Schrock almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Start date:
2011-10-27
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

As described in this blog post:

http://dtrace.org/blogs/eschrock/2011/10/26/your-mdb-fell-into-my-dtrace/

It would be useful to have a type-aware print() action in addition to the raw trace() action.

History

#1

Updated by Eric Schrock almost 8 years ago

  • Status changed from New to Resolved

changeset: 13501:c3a7090dbc16
tag: tip
user: Eric Schrock <>
date: Thu Nov 03 18:34:26 2011 -0700

description:
1694 Add type-aware print() action
Reviewed by: Adam Leventhal <>
Reviewed by: Bryan Cantrill <>
Reviewed by: Richard Lowe <>
Approved by: Richard Lowe <>

modified:
exception_lists/copyright
usr/src/lib/libdtrace/Makefile.com
usr/src/lib/libdtrace/common/dt_cc.c
usr/src/lib/libdtrace/common/dt_consume.c
usr/src/lib/libdtrace/common/dt_dof.c
usr/src/lib/libdtrace/common/dt_errtags.h
usr/src/lib/libdtrace/common/dt_impl.h
usr/src/lib/libdtrace/common/dt_map.c
usr/src/lib/libdtrace/common/dt_open.c
usr/src/lib/libdtrace/common/dt_program.c
usr/src/lib/libdtrace/common/dtrace.h
usr/src/pkg/manifests/system-dtrace-tests.mf
usr/src/uts/common/dtrace/dtrace.c
added:
usr/src/cmd/dtrace/test/tst/common/print/err.D_PRINT_DYN.bad.d
usr/src/cmd/dtrace/test/tst/common/print/err.D_PRINT_VOID.bad.d
usr/src/cmd/dtrace/test/tst/common/print/err.D_PROTO_LEN.bad.d
usr/src/cmd/dtrace/test/tst/common/print/tst.array.d
usr/src/cmd/dtrace/test/tst/common/print/tst.array.d.out
usr/src/cmd/dtrace/test/tst/common/print/tst.bitfield.d
usr/src/cmd/dtrace/test/tst/common/print/tst.bitfield.d.out
usr/src/cmd/dtrace/test/tst/common/print/tst.primitive.d
usr/src/cmd/dtrace/test/tst/common/print/tst.primitive.d.out
usr/src/cmd/dtrace/test/tst/common/print/tst.struct.d
usr/src/cmd/dtrace/test/tst/common/print/tst.struct.d.out
usr/src/cmd/dtrace/test/tst/common/trace/err.D_TRACE_DYN.bad.d
usr/src/lib/libdtrace/common/dt_print.c

Also available in: Atom PDF