An error occurred fetching the project authors.
  1. 02 May, 2016 1 commit
  2. 31 Mar, 2016 1 commit
    • Alexei Starovoitov's avatar
      get rid of version checks · f09b5b8a
      Alexei Starovoitov authored
      version checks don't work at all on kernels with backported bpf bits
      they also fail when /usr/include/linux/bpf.h doesn't match loaded
      kernel.
      Fix these issues by embedding bpf.h into libbcc.so and force load it
      in clang, so we can remove all version checks and rely on verifier
      complaining on unknown function call.
      Later patch can make verifier errors less cryptic by converting
      'unknown call 12' to strings.
      
      while at it update bpf.h to the latest.
      Signed-off-by: default avatarAlexei Starovoitov <ast@fb.com>
      f09b5b8a
  3. 29 Mar, 2016 1 commit
  4. 08 Mar, 2016 2 commits
    • Brenden Blanco's avatar
      When in KERNEL_HAS_SOURCE_DIR mode, include everything · 4da28291
      Brenden Blanco authored
      Include all of the paths in the build/ directory when kernel headers are
      split.
      Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
      4da28291
    • Brenden Blanco's avatar
      Add option to change kernel build search paths · 3e2f9d9d
      Brenden Blanco authored
      Some linux distributions structure the /lib/modules directories
      differently, causing complexities. Add cmake overrides to be able to
      compile different behavior.
      
      If your distro sets up `/lib/modules/$(uname -r)/{source,build}` with
      header files split between the two (debian does this), then add
      -DBCC_KERNEL_HAS_SOURCE_DIR=1 to the cmake command line.
      
      If your distro just has something other than build/, but things are
      still in one subdirectory, then add -DBCC_KERNEL_MODULES_SUFFIX=foo to
      the cmake command line.
      
      Also, fix one implicit declaration warning introduced by the new
      bpf_get_stackid() helper.
      
      Fixes: #397
      Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
      3e2f9d9d
  5. 18 Feb, 2016 1 commit
    • Brenden Blanco's avatar
      Embed runtime header files in libbcc.so · c597c29c
      Brenden Blanco authored
      To avoid installing header files needed by clang to disk
      (/usr/share/bcc), embed the files as strings inside the library and feed
      them to clang as memory buffers. The mechanism that we use to do this
      retains all of the existing features, as in one can still do `#include
      <bcc/helpers.h>`, even though it is redundant, and clang will pick up
      the embedded file.
      
      Fixes: #333
      Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
      c597c29c
  6. 06 Jan, 2016 1 commit
  7. 04 Jan, 2016 1 commit
  8. 11 Sep, 2015 1 commit
  9. 09 Sep, 2015 1 commit
  10. 08 Aug, 2015 1 commit
  11. 07 Aug, 2015 1 commit
  12. 03 Aug, 2015 2 commits