make
, clang
, libelf
and zlib
packages are needed to build. Make sure they are installed.
Also, this project depends on libbpf
and bpftool
. We do vendoring of both as git submodules in this repository.
So clone the repository like this:
git clone --recurse-submodules https://github.com/nicolaskribas/bpfwavelet.git
If you already cloned the repository you can initialize the submodules like this:
git submodule update --init --recursive
make bpfwavelet
bpfwavelet [options] <ifname>
options:
-h print help
-v use verbose output
-a set alpha value
-b set beta value
-t set the interval (in nanoseconds) between samples
-l set the number of decomposition levels