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