![]() |
![]()
| ![]() |
![]()
NAMEDevel::Events - Extensible instrumentation frameworkVERSIONversion 0.09SYNOPSISuse Devel::Events::Generator::Foo; use Devel::Events::Handler::Bar; use Devel::Events::Filter::Blort; my $h = Devel::Events::Generator->new( handler => Devel::Event::Filter->new( handler => Devel::Events::Handler::Bar->new(), ), ); DESCRIPTIONDevel::Events is an event generation, filtering and analaysis framework for instrumenting and auditing perl code.The design's purpose is to decouple the mechanics of code instrumentation from the analysis, making it easier to write debugging/profiling tools. Devel::Events::Generator object fire events, which can be mangled by Devel::Event::Filter objects. Eventually any number of Devel::Event::Handler objects can receive a given event, and perform analysis based on it. For example Devel::Event::Handler::ObjectTracker can be used to detect leaks. COMPONENT OVERVIEWThere are two main types of components - generators and handlers.Filters are special types of handlers that always delegate to another handler. The multiplex handler may be used to delegate to any number of handlers, and can be the handler for several generators. Using these basic components complex chains of handlers can be built to properly analyze the events you are interested in. Generators
Handlers
Filters
EVENT STRUCTUREAll events are passed as lists.The default components will generate lists containing a single string which is the event name, and then a list of key/value pairs. SUPPORTBugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Devel-Events> (or bug-Devel-Events@rt.cpan.org <mailto:bug-Devel-Events@rt.cpan.org>).AUTHORXXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org>CONTRIBUTORKaren Etheridge <ether@cpan.org>COPYRIGHT AND LICENCEThis software is copyright (c) 2007 by XXXX XXX'XX (Yuval Kogman).This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|