summaryrefslogtreecommitdiffstats
path: root/usr.sbin/btrace
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2020-01-21 16:32:54 +0000
committermpi <mpi@openbsd.org>2020-01-21 16:32:54 +0000
commitf85dfe3ad77ade7f70e2b10b9c51694f7e8db5cc (patch)
tree8c1c2bee49e6ea8346d3b458248b9acb68662d0f /usr.sbin/btrace
parentRegression tests for btrace(8). (diff)
downloadwireguard-openbsd-f85dfe3ad77ade7f70e2b10b9c51694f7e8db5cc.tar.xz
wireguard-openbsd-f85dfe3ad77ade7f70e2b10b9c51694f7e8db5cc.zip
Some remaining items for the curious.
Diffstat (limited to 'usr.sbin/btrace')
-rw-r--r--usr.sbin/btrace/TODO20
1 files changed, 20 insertions, 0 deletions
diff --git a/usr.sbin/btrace/TODO b/usr.sbin/btrace/TODO
new file mode 100644
index 00000000000..ba0ee5aa0dd
--- /dev/null
+++ b/usr.sbin/btrace/TODO
@@ -0,0 +1,20 @@
+Missing features:
+
+- automatically print variables on exit
+- if/else
+- scratch variable ($name)
+- `args', tracepoint arguments support (requires kernel work)
+- str()
+- time()
+- @ = sum(x)
+- @ = hist(x)
+- @ = lhist(x, min, max, step)
+- @ = min(x)
+- @ = max(x)
+- delete(@map[key])
+
+Improvements:
+
+- implement arithmetic operator precedence
+- rewrite stmt_printf() to not use strings internally
+- look at collision in map hash