forked from iovisor/bcc
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into iamkafai
- Loading branch information
Showing
496 changed files
with
37,608 additions
and
5,328 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
BasedOnStyle: Google | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
IndentCaseLabels: false | ||
AccessModifierOffset: -2 | ||
AccessModifierOffset: -1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
language: generic | ||
install: | ||
- sudo apt-get install -y python-pip | ||
- sudo pip install pep8 | ||
script: | ||
- find tools/ -type f -name "*.py" | xargs pep8 -r --show-source --ignore=E123,E125,E126,E127,E128,E302 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This file should be kept up to date with the list of maintainers responsible | ||
# for the different subdirectories within BCC. One of these people SHOULD | ||
# review code that touches the respective areas, and MUST review it if the | ||
# change is substantial or API-breaking. | ||
|
||
# see https://help.github.com/articles/about-codeowners/ for syntax | ||
|
||
# Miscellaneous | ||
* @drzaeus77 @goldshtn @yonghong-song @4ast @brendangregg | ||
|
||
# Documentation | ||
/docs/ @brendangregg @goldshtn | ||
/man/ @brendangregg @goldshtn | ||
|
||
# Tools | ||
/tools/ @brendangregg @goldshtn | ||
|
||
# Compiler, C API | ||
/src/cc/ @drzaeus77 @yonghong-song @4ast | ||
|
||
# Python API | ||
/src/python/ @drzaeus77 @goldshtn | ||
|
||
# Tests | ||
/tests/ @drzaeus77 @yonghong-song |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
FROM debian:jessie | ||
FROM debian:stretch | ||
|
||
RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv 15CF4D18AF4F7421 && \ | ||
echo "deb http:https://llvm.org/apt/jessie/ llvm-toolchain-jessie-3.8 main" > /etc/apt/sources.list.d/llvm.list && \ | ||
apt-get update && \ | ||
apt-get install -y --no-install-recommends build-essential fakeroot bison cmake debhelper devscripts flex git libedit-dev python zlib1g-dev libllvm3.8 llvm-3.8-dev libclang-3.8-dev libelf-dev luajit libluajit-5.1-dev && \ | ||
mkdir -p /usr/share/llvm-3.8 && \ | ||
ln -s /usr/lib/llvm-3.8/share/llvm/cmake /usr/share/llvm-3.8/cmake | ||
MAINTAINER Brenden Blanco <[email protected]> | ||
|
||
RUN DEBIAN_RELEASE=stretch && \ | ||
# Adding non-free repo for netperf | ||
echo "deb http:https://deb.debian.org/debian ${DEBIAN_RELEASE} non-free" > \ | ||
/etc/apt/sources.list.d/debian-non-free.list && \ | ||
apt-get -qq update && \ | ||
apt-get -y install pbuilder aptitude | ||
|
||
COPY ./ /root/bcc | ||
|
||
WORKDIR /root/bcc | ||
|
||
RUN ./scripts/build-deb.sh | ||
RUN /usr/lib/pbuilder/pbuilder-satisfydepends && \ | ||
./scripts/build-deb.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,13 @@ | ||
# File to be used for building an Ubuntu .deb | ||
FROM ubuntu:xenial | ||
|
||
FROM ubuntu:trusty | ||
MAINTAINER Brenden Blanco <[email protected]> | ||
|
||
MAINTAINER Brenden Blanco <[email protected]> | ||
RUN apt-get -qq update && \ | ||
apt-get -y install pbuilder aptitude | ||
|
||
RUN apt-get -y install wget | ||
RUN printf "deb http:https://llvm.org/apt/trusty/ llvm-toolchain-trusty main\ndeb-src http:https://llvm.org/apt/trusty/ llvm-toolchain-trusty main\n" > /etc/apt/sources.list.d/llvm.list | ||
RUN wget -q -O - http:https://llvm.org/apt/llvm-snapshot.gpg.key | apt-key add - | ||
RUN apt-get -y update | ||
COPY ./ /root/bcc | ||
|
||
RUN apt-get -y install bison build-essential cmake debhelper devscripts flex git libedit-dev python zlib1g-dev | ||
RUN apt-get -y install libllvm3.8 llvm-3.8-dev libclang-3.8-dev | ||
|
||
RUN mkdir -p /root/bcc/build | ||
COPY ./ /root/bcc/ | ||
WORKDIR /root | ||
RUN tar zcf bcc_0.1.1.orig.tar.gz bcc/ | ||
WORKDIR /root/bcc | ||
RUN DEB_BUILD_OPTIONS="nocheck parallel=4" debuild -us -uc | ||
|
||
RUN /usr/lib/pbuilder/pbuilder-satisfydepends && \ | ||
./scripts/build-deb.sh |
Oops, something went wrong.