Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chrisa/perl-Devel-DTrace-Provider
Devel::DTrace::Provider - Perl wrapper for libusdt
https://github.com/chrisa/perl-Devel-DTrace-Provider
Last synced: about 2 months ago
JSON representation
Devel::DTrace::Provider - Perl wrapper for libusdt
- Host: GitHub
- URL: https://github.com/chrisa/perl-Devel-DTrace-Provider
- Owner: chrisa
- Created: 2012-08-17T22:40:31.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-24T21:41:16.000Z (over 11 years ago)
- Last Synced: 2024-04-24T11:18:38.129Z (2 months ago)
- Language: C
- Size: 219 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
Lists
- awesome-dtrace - perl-Devel-DTrace-Provider - Perl wrapper for libusdt. (Software / Programming languages)
README
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 installExample 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
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.