bpftrace-mode is a simple mode for editing bpftrace files: https://github.com/iovisor/bpftrace bpftrace-mode builds atop of cc-mode for indentation and syntax highlighting.