1. 26 Mar, 2017 1 commit
  2. 23 Mar, 2017 3 commits
  3. 22 Mar, 2017 4 commits
  4. 21 Mar, 2017 5 commits
  5. 18 Mar, 2017 2 commits
  6. 16 Mar, 2017 2 commits
  7. 11 Mar, 2017 4 commits
    • Brenden Blanco's avatar
      Merge pull request #1032 from goldshtn/tools-tests · dd3867d3
      Brenden Blanco authored
      Smoke tests for the tools
      dd3867d3
    • Sasha Goldshtein's avatar
      tests: Add smoke tests for most tools · 5c41b39b
      Sasha Goldshtein authored
      This commit adds basic smoke tests for most tools in tools/ by
      running the tool with either a short duration, or interrupting it
      with a SIGINT after a short duration. The tests check the return
      value from the tool to detect any Python exceptions or other
      errors, but they do not read the standard error or standard output
      and parse the tool's result.
      
      Some tools are not covered by these smoke tests for reasons
      documented in the test itself:
      
      * btrfsdist and btrfsslower need btrfs
      * cachetop doesn't like to run without a terminal
      * dbslower, dbstat, and mysqld_qslower need a database engine
      * deadlock_detector allocates a huge amount of memory
      * softirqs doesn't work on new kernels and needs fixing (#1031)
      * ugc needs a USDT-enabled runtime with GC probes
      * zfsdist and zfsslower need zfs
      
      This is a good place to start, but clearly for some tools,
      especially those with a complex interface like trace and argdist,
      we need more than just basic smoke tests.
      5c41b39b
    • Sasha Goldshtein's avatar
      2febc297
    • 4ast's avatar
      Merge pull request #1044 from goldshtn/ausyscall · eea18dc8
      4ast authored
      syscount: Use ausyscalls if available to get syscall list
      eea18dc8
  8. 10 Mar, 2017 2 commits
  9. 09 Mar, 2017 5 commits
  10. 08 Mar, 2017 1 commit
  11. 07 Mar, 2017 2 commits
  12. 06 Mar, 2017 5 commits
  13. 05 Mar, 2017 3 commits
    • 4ast's avatar
      Merge pull request #1023 from dneiter/filetop_sort · 40b881c5
      4ast authored
      filetop: support specifying sort column via cmdline argument
      40b881c5
    • Rafael Fonseca's avatar
      cmake: Explicitly mark static libraries as such · dbea1378
      Rafael Fonseca authored
      Some distros (e.g Fedora) override the default behaviour of building
      static libraries to building dynamic ones instead. By explicitly
      building the correct libraries as static, we make sure BCC properly
      compiles everywhere.
      dbea1378
    • Paul Chaignon's avatar
      Fix bpf_dins_pkt rewrite in BinaryOperator · 47b74fe0
      Paul Chaignon authored
      Binary operator expressions where the left hand-side expression is a
      reference to the packet are replaced by a call to the bpf_dins_pkt
      helper. When replacing text, the Clang Rewriter tries to maintain a
      list of offsets between the original and the new position of tokens.
      
      Replacing the whole binary operator expression with the call to
      bpf_dins_pkt confuses the Rewriter and it is unable to track the new
      position of the right hand-side expression. Rewriting the binary
      operator expression in two times without rewriting the right
      hand-side expression itself solves the issue.
      47b74fe0
  14. 04 Mar, 2017 1 commit
    • Paul Chaignon's avatar
      Travis CI build to check compliance with PEP8 (#987) · 956ca1c8
      Paul Chaignon authored
      * Travis CI build to check compliance with PEP8
      
      * argdist: linter cleanup
      
      * dbslower: linter cleanup
      
      * dbstat: linter cleanup
      
      * memleak: linter cleanup
      
      * syscount: linter cleanup
      
      * tplist: linter cleanup
      
      * trace: linter cleanup
      
      * ucalls: linter cleanup
      
      * uflow: linter cleanup
      
      * ugc: linter cleanup
      
      * uobjnew: linter cleanup
      
      * ustat: linter cleanup
      956ca1c8