Blame SOURCES/libpython.stp

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