BPFtrace is currently a work in progress and can not currently run scripts. The examples below are to give an idea of what the final result should be.
BPFtrace aims to be a [DTrace](http://dtrace.org)-style dynamic tracing tool for linux, based on the extended BPF capabilities available in recent Linux kernels. BPFtrace uses [LLVM](http://llvm.org) to compile scripts to BPF-bytecode and many helper functions are included from [BCC](https://github.com/iovisor/bcc).
BPFtrace's scripting language is inspired by [ply](https://github.com/iovisor/ply) and DTrace.
## Examples
BPFtrace is a work in progress and can not currently run scripts. The examples below are to give an idea of what the final result should be.
To produce a histogram of amount of time spent in the `read()` system call: