tools: Script skeletons
authorSasha Goldshtein <goldshtn@gmail.com>
Thu, 20 Oct 2016 23:08:37 +0000 (16:08 -0700)
committerSasha Goldshtein <goldshtn@gmail.com>
Mon, 19 Dec 2016 09:46:05 +0000 (09:46 +0000)
Skeletons for method flow, object allocations, general
event statistics, and thread statistics.

tools/ucalls.py
tools/uflow.py [new file with mode: 0644]
tools/uobjnew.py [new file with mode: 0644]
tools/ustat.py [new file with mode: 0644]
tools/uthreads.py [new file with mode: 0644]

index b2257c6..63f766d 100755 (executable)
 #
 # 19-Oct-2016   Sasha Goldshtein   Created this.
 
+# TODO Add node!
+# TODO Add shell wrappers: javacalls, pythoncalls, etc.
+# TODO Add syscalls information from sys_* and SyS_* kprobes
+
 from __future__ import print_function
 import argparse
 from bcc import BPF, USDT
diff --git a/tools/uflow.py b/tools/uflow.py
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tools/uobjnew.py b/tools/uobjnew.py
new file mode 100644 (file)
index 0000000..23c08b9
--- /dev/null
@@ -0,0 +1 @@
+# Object allocation events
diff --git a/tools/ustat.py b/tools/ustat.py
new file mode 100644 (file)
index 0000000..0a4cfb4
--- /dev/null
@@ -0,0 +1,4 @@
+# Like the *_stat.d scripts in dtrace-toolkit, a top-like display of
+# event rates like thread starts, class loads, method calls, syscalls,
+# garbage collections, exceptions, and so on. The set of events depends
+# on the probes available in the language of choice.
diff --git a/tools/uthreads.py b/tools/uthreads.py
new file mode 100644 (file)
index 0000000..49df50b
--- /dev/null
@@ -0,0 +1 @@
+# Thread creation and destruction events