Blame SOURCES/libpython.stp

23b3e9
/* Systemtap tapset to make it easier to trace Python */
23b3e9
23b3e9
/*
23b3e9
   Define python.function.entry/return:
23b3e9
*/
23b3e9
probe python.function.entry = process("python").library("LIBRARY_PATH").mark("function__entry")
23b3e9
{
23b3e9
    filename = user_string($arg1);
23b3e9
    funcname = user_string($arg2);
23b3e9
    lineno = $arg3;
23b3e9
}
23b3e9
probe python.function.return = process("python").library("LIBRARY_PATH").mark("function__return")
23b3e9
{
23b3e9
    filename = user_string($arg1);
23b3e9
    funcname = user_string($arg2);
23b3e9
    lineno = $arg3;
23b3e9
}