Context.pm 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. package Perf::Trace::Context;
  2. use 5.010000;
  3. use strict;
  4. use warnings;
  5. require Exporter;
  6. our @ISA = qw(Exporter);
  7. our %EXPORT_TAGS = ( 'all' => [ qw(
  8. ) ] );
  9. our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
  10. our @EXPORT = qw(
  11. common_pc common_flags common_lock_depth
  12. );
  13. our $VERSION = '0.01';
  14. require XSLoader;
  15. XSLoader::load('Perf::Trace::Context', $VERSION);
  16. 1;
  17. __END__
  18. =head1 NAME
  19. Perf::Trace::Context - Perl extension for accessing functions in perf.
  20. =head1 SYNOPSIS
  21. use Perf::Trace::Context;
  22. =head1 SEE ALSO
  23. Perf (script) documentation
  24. =head1 AUTHOR
  25. Tom Zanussi, E<lt>tzanussi@gmail.com<gt>
  26. =head1 COPYRIGHT AND LICENSE
  27. Copyright (C) 2009 by Tom Zanussi
  28. This library is free software; you can redistribute it and/or modify
  29. it under the same terms as Perl itself, either Perl version 5.10.0 or,
  30. at your option, any later version of Perl 5 you may have available.
  31. Alternatively, this software may be distributed under the terms of the
  32. GNU General Public License ("GPL") version 2 as published by the Free
  33. Software Foundation.
  34. =cut