basebuilder_pel7ppc64bebuilder0
7 years ago
2 changed files with 27 additions and 2 deletions
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
/* Systemtap tapset to make it easier to trace Python */ |
||||
|
||||
/* |
||||
Define python.function.entry/return: |
||||
*/ |
||||
probe python.function.entry = process("python3").library("LIBRARY_PATH").mark("function__entry") |
||||
{ |
||||
filename = user_string($arg1); |
||||
funcname = user_string($arg2); |
||||
lineno = $arg3; |
||||
} |
||||
probe python.function.return = process("python3").library("LIBRARY_PATH").mark("function__return") |
||||
{ |
||||
filename = user_string($arg1); |
||||
funcname = user_string($arg2); |
||||
lineno = $arg3; |
||||
} |
Loading…
Reference in new issue