/bpfwavelet

Periodicity detection using discrete wavelet transform in BPF

Primary LanguageCGNU General Public License v3.0GPL-3.0

bpfwavelet: periodicity detection using discrete wavelet transform in BPF

Building

Dependencies

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

Compiling

make bpfwavelet

Usage

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