summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2020-01-21 16:32:55 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2020-01-21 16:32:55 +0000
commitebfe0433658cd28c200437cc2e44e355acc7ec6e (patch)
treec8117caf8e0e291afcfe33dc5ad24c46a17ff3dc /usr.sbin
parentbc58c866669a43fa8818f23b451a651599675871 (diff)
Some remaining items for the curious.
Diffstat (limited to 'usr.sbin')
-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