From e32ce18e762bfad63a243fa6dcb192b3e5ae9588 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Tue, 9 Aug 2016 12:36:16 +0200 Subject: Initial import of Fedora 23 package --- libpython.stp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 libpython.stp (limited to 'libpython.stp') diff --git a/libpython.stp b/libpython.stp new file mode 100644 index 0000000..f41da80 --- /dev/null +++ b/libpython.stp @@ -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; +} -- cgit