500a208fa3
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/perl#f36ef6bc94783b6bfd8b4017d7c2a7b66ef15460
72 lines
1.2 KiB
Plaintext
72 lines
1.2 KiB
Plaintext
/*
|
|
This probe will fire when the perl script enters a subroutine.
|
|
*/
|
|
|
|
probe perl.sub.call = process("LIBRARY_PATH").mark("sub__entry")
|
|
{
|
|
|
|
sub = user_string($arg1)
|
|
filename = user_string($arg2)
|
|
lineno = $arg3
|
|
package = user_string($arg4)
|
|
|
|
}
|
|
|
|
/*
|
|
This probe will fire when the return from a subroutine has been
|
|
hit.
|
|
*/
|
|
|
|
probe perl.sub.return = process("LIBRARY_PATH").mark("sub__return")
|
|
{
|
|
|
|
sub = user_string($arg1)
|
|
filename = user_string($arg2)
|
|
lineno = $arg3
|
|
package = user_string($arg4)
|
|
|
|
}
|
|
|
|
/*
|
|
This probe will fire when the Perl interperter changes state.
|
|
*/
|
|
|
|
probe perl.phase.change = process("LIBRARY_PATH").mark("phase__change")
|
|
{
|
|
newphase = user_string($arg1)
|
|
oldphase = user_string($arg2)
|
|
|
|
}
|
|
|
|
|
|
/*
|
|
Fires when Perl has successfully loaded an individual file.
|
|
*/
|
|
|
|
probe perl.loaded.file = process("LIBRARY_PATH").mark("loaded__file")
|
|
{
|
|
filename = user_string($arg1)
|
|
|
|
}
|
|
|
|
|
|
/*
|
|
Fires when Perl is about to load an individual file.
|
|
*/
|
|
|
|
probe perl.loading.file = process("LIBRARY_PATH").mark("loading__file")
|
|
{
|
|
filename = user_string($arg1)
|
|
|
|
}
|
|
|
|
|
|
/*
|
|
Traces the execution of each opcode in the Perl runloop.
|
|
*/
|
|
|
|
probe perl.op.entry = process("LIBRARY_PATH").mark("op__entry")
|
|
{
|
|
opname = user_string($arg1)
|
|
}
|