summaryrefslogtreecommitdiffstats
path: root/libpython.stp
diff options
context:
space:
mode:
authorMiro Hrončok <miro@hroncok.cz>2016-08-09 12:36:16 +0200
committerMiro Hrončok <miro@hroncok.cz>2016-09-26 10:20:04 +0200
commite32ce18e762bfad63a243fa6dcb192b3e5ae9588 (patch)
tree52df28be6fe15714554555c8bc772cb67f167dbc /libpython.stp
parentf5845b442d5e3c252df4de7d56bbafe3e8737613 (diff)
downloadpython34-e32ce18e762bfad63a243fa6dcb192b3e5ae9588.tar.gz
python34-e32ce18e762bfad63a243fa6dcb192b3e5ae9588.tar.xz
python34-e32ce18e762bfad63a243fa6dcb192b3e5ae9588.zip
Initial import of Fedora 23 package
Diffstat (limited to 'libpython.stp')
-rw-r--r--libpython.stp17
1 files changed, 17 insertions, 0 deletions
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;
+}