Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Devel::DTrace::Provider - Perl wrapper for libusdt
C Perl
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/Devel/DTrace
libusdt @ 0b92ee7
t
.gitignore
.gitmodules
Av_CharPtrPtr.c
Av_CharPtrPtr.h
Changes
MANIFEST
MANIFEST.SKIP
Makefile.PL
Provider.xs
README.md
ppport.h
typemap

README.md

Devel-DTrace-Provider version 1.00

This is Perl bindings for libusdt, which allows you to create DTrace providers at runtime, from your Perl code.

See: https://github.com/chrisa/libusdt

Installation

To install this module type the following:

perl Makefile.PL make make test make install

Example Usage

use Devel::DTrace::Provider;

my $provider = Devel::DTrace::Provider->new('test0', 'test1module'); my $probe = $provider->probe('test', 'func', 'string', 'integer'); $provider->enable; $probe->fire('foo', 42);

Platform Requirements

Requires a libusdt-supported platform. Currently this is Solaris/Illumos and Mac OS X, i386 and x86_64.

Copyright and Licence

Copyright (C) 2008-2012, Chris Andrews chris@nodnol.org

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

Something went wrong with that request. Please try again.