Blame SOURCES/libpython.stp

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