Devel::DTrace::DOF::Header - a DOF header
my $header = Devel::DTrace::DOF::Header->new(); $header->secnum(scalar @sections); ... $header->filesz($size); $header->loadsz($load_size); $header->dof_version($ver); my $dof = $header->generate();
Represents a DOF header. Used like Devel::DTrace::DOF::Section objects.
Constructor. Takes no arguments.
Sets the number of DOF sections associated with this header.
Sets the "loadable" size of the DOF (full size less any sections not required by the kernel).
Sets the full size of the DOF.
Sets the version number of this DOF:
Returns the generated DOF section.
To install Devel::DTrace::Provider, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::DTrace::Provider
CPAN shell
perl -MCPAN -e shell install Devel::DTrace::Provider
For more information on module installation, please visit the detailed CPAN module installation guide.