Blame SOURCES/libpython.stp

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