churchyard / rpms / python38

Forked from rpms/python38 2 years ago
Clone
c96960
/* Systemtap tapset to make it easier to trace Python */
c96960
c96960
/*
c96960
   Define python.function.entry/return:
c96960
*/
c96960
probe python.function.entry = process("python3").library("LIBRARY_PATH").mark("function__entry")
c96960
{
c96960
    filename = user_string($arg1);
c96960
    funcname = user_string($arg2);
c96960
    lineno = $arg3;
c96960
}
536a20
probe python.function.return = process("python3").library("LIBRARY_PATH").mark("function__return")
c96960
{
c96960
    filename = user_string($arg1);
c96960
    funcname = user_string($arg2);
c96960
    lineno = $arg3;
c96960
}