Blame SOURCES/perl.stp

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