b2938d
/*
b2938d
   This probe will fire when the perl script enters a subroutine.
b2938d
 */
b2938d
b2938d
probe perl.sub.call = process("LIBRARY_PATH").mark("sub__entry")
b2938d
{
b2938d
b2938d
  sub = user_string($arg1)
b2938d
  filename = user_string($arg2)
b2938d
  lineno = $arg3
b2938d
  package = user_string($arg4)
b2938d
b2938d
}
b2938d
b2938d
/*
b2938d
   This probe will fire when the return from a subroutine has been
b2938d
   hit.
b2938d
 */
b2938d
b2938d
probe perl.sub.return = process("LIBRARY_PATH").mark("sub__return")
b2938d
{
b2938d
b2938d
  sub = user_string($arg1)
b2938d
  filename = user_string($arg2)
b2938d
  lineno = $arg3
b2938d
  package = user_string($arg4)
b2938d
b2938d
}
b2938d
b2938d
/*
b2938d
   This probe will fire when the Perl interperter changes state.
b2938d
 */
b2938d
b2938d
probe perl.phase.change = process("LIBRARY_PATH").mark("phase__change")
b2938d
{
b2938d
  newphase = user_string($arg1)
b2938d
  oldphase = user_string($arg2)
b2938d
b2938d
}
b2938d
b2938d
b2938d
/*
b2938d
   Fires when Perl has successfully loaded an individual file.
b2938d
 */
b2938d
b2938d
probe perl.loaded.file = process("LIBRARY_PATH").mark("loaded__file")
b2938d
{
b2938d
  filename = user_string($arg1)
b2938d
b2938d
}
b2938d
b2938d
b2938d
/*
b2938d
   Fires when Perl is about to load an individual file.
b2938d
 */
b2938d
b2938d
probe perl.loading.file = process("LIBRARY_PATH").mark("loading__file")
b2938d
{
b2938d
  filename = user_string($arg1)
b2938d
b2938d
}
b2938d
b2938d
b2938d
/*
b2938d
   Traces the execution of each opcode in the Perl runloop.
b2938d
 */
b2938d
b2938d
probe perl.op.entry = process("LIBRARY_PATH").mark("op__entry")
b2938d
{
b2938d
  opname = user_string($arg1)
b2938d
}