From c0217a9b683db8df91e73c6a537b7ce80ee17528 Mon Sep 17 00:00:00 2001 From: Sasha Goldshtein Date: Thu, 20 Oct 2016 16:08:37 -0700 Subject: [PATCH] tools: Script skeletons Skeletons for method flow, object allocations, general event statistics, and thread statistics. --- tools/ucalls.py | 4 ++++ tools/uflow.py | 0 tools/uobjnew.py | 1 + tools/ustat.py | 4 ++++ tools/uthreads.py | 1 + 5 files changed, 10 insertions(+) create mode 100644 tools/uflow.py create mode 100644 tools/uobjnew.py create mode 100644 tools/ustat.py create mode 100644 tools/uthreads.py diff --git a/tools/ucalls.py b/tools/ucalls.py index b2257c6..63f766d 100755 --- a/tools/ucalls.py +++ b/tools/ucalls.py @@ -11,6 +11,10 @@ # # 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 index 0000000..e69de29 diff --git a/tools/uobjnew.py b/tools/uobjnew.py new file mode 100644 index 0000000..23c08b9 --- /dev/null +++ b/tools/uobjnew.py @@ -0,0 +1 @@ +# Object allocation events diff --git a/tools/ustat.py b/tools/ustat.py new file mode 100644 index 0000000..0a4cfb4 --- /dev/null +++ b/tools/ustat.py @@ -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 index 0000000..49df50b --- /dev/null +++ b/tools/uthreads.py @@ -0,0 +1 @@ +# Thread creation and destruction events -- 2.7.4