Skip to content

Commit

Permalink
Install prebuilt libbcc 0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bobrik committed Nov 26, 2019
1 parent fe7fe33 commit 986c660
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ before_install:
- sudo apt-get update && sudo apt-get install -y lsb-release
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648A4A16A23015EEF4A66B8E4052245BD4284CDD
- echo "deb https://repo.iovisor.org/apt/$(lsb_release --short --codename) $(lsb_release --short --codename) main" | sudo tee /etc/apt/sources.list.d/iovisor.list
- sudo apt-get update && sudo apt-get install -y libbcc linux-headers-$(uname -r)
- sudo dpkg -L libbcc
- sudo apt-get update && sudo apt-get install -y linux-headers-$(uname -r)
# Install libbcc attached to https://github.com/cloudflare/ebpf_exporter/pull/61
# instead of upstream one, because of https://github.com/iovisor/bcc/issues/2570
- curl -s https://github.com/cloudflare/ebpf_exporter/files/3890546/libbcc_0.11.0-2_amd64.deb.gz | gunzip > /tmp/libbcc.deb
- sudo dpkg -i /tmp/libbcc.deb
# Install linter tools, cd to avoid confusion with go modules
- cd && go get -u -v github.com/alecthomas/gometalinter
- ~/go/bin/gometalinter --install
Expand Down

0 comments on commit 986c660

Please sign in to comment.