summaryrefslogtreecommitdiff
path: root/tools/trace/example/callback.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/trace/example/callback.py')
-rw-r--r--tools/trace/example/callback.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/trace/example/callback.py b/tools/trace/example/callback.py
new file mode 100644
index 00000000..84876016
--- /dev/null
+++ b/tools/trace/example/callback.py
@@ -0,0 +1,4 @@
+def ia (data):
+ string = "\"IA arg1: %d arg2: %d arg3: %d\""
+ string = string % tuple (data)
+ return string