Show HN: bpfquery – experimenting with compiling SQL to bpf(trace)

https://bpfquery.com/?showing=kprobe
by knuckleheads • 2 years ago
58 9 2 years ago

Hello! The last few weeks I've been experimenting with compiling sql queries to bpftrace programs and then working with the results. bpfquery.com is the result of that, source available at https://github.com/zmaril/bpfquery. It's a very minimal sql to bpftrace compiler that lets you explore what's going on with your systems. It implements queries, expressions, and filters/wheres/predicates, and has a streaming pivot table interface built on https://perspective.finos.org. I am still figuring out how to do windows, aggregations and joins though, but the pivot table interface actually lets you get surprisingly far. I hope you enjoy it!

Related Stories

Loading related stories...

Source preview

bpfquery.com