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