Skip to content

Instantly share code, notes, and snippets.

Created September 21, 2015 20:33
What would you like to do?
bcc build steps, 21-sep-2015
To get running (eBPF front-end)
# do a normal linux 4.3+ build, or get 4.3+ pkgs (
sudo apt-get -y install bison build-essential cmake flex git libedit-dev python zlib1g-dev
# Build LLVM and Clang development libs
git clone --depth 1
cd llvm/tools; git clone --depth 1
cd ..; mkdir -p build/install; cd build
make -j4
make install
export PATH=$PWD/install/bin:$PATH # and add this to ~/.bashrc
# Install and compile BCC
cd /mnt/src
git clone
mkdir bcc/build; cd bcc/build
sudo make install
# test
cd ../examples
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment