Blame SOURCES/perl.stp

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