1. 09 Nov, 2016 2 commits
  2. 08 Nov, 2016 2 commits
    • Brenden Blanco's avatar
      Merge pull request #803 from dark/fix-warnings · f02448c6
      Brenden Blanco authored
      Fix warnings covered by -Wdelete-non-virtual-dtor
      f02448c6
    • Marco Leogrande's avatar
      Fix warnings covered by -Wdelete-non-virtual-dtor · 899520c3
      Marco Leogrande authored
      The warnings were:
      
       src/cc/bcc_syms.cc: In function ‘void bcc_free_symcache(void*, int)’:
       src/cc/bcc_syms.cc:217:40: warning: deleting object of polymorphic class type ‘KSyms’
                                  which has non-virtual destructor might cause undefined behaviour
                                  [-Wdelete-non-virtual-dtor]
           delete static_cast<KSyms*>(symcache);
                                              ^
       src/cc/bcc_syms.cc:219:43: warning: deleting object of polymorphic class type ‘ProcSyms’
                                  which has non-virtual destructor might cause undefined behaviour
                                  [-Wdelete-non-virtual-dtor]
           delete static_cast<ProcSyms*>(symcache);
                                                 ^
      
      Fix the warnings by defining a virtual destructor for the base class SymbolCache.
      Signed-off-by: default avatarMarco Leogrande <marcol@plumgrid.com>
      899520c3
  3. 07 Nov, 2016 1 commit
  4. 05 Nov, 2016 2 commits
  5. 03 Nov, 2016 1 commit
    • Mark Drayton's avatar
      trace: add pid/tid filtering, fix symbolizing, misc nits (#798) · aa6c9168
      Mark Drayton authored
      * support filtering by process ID (-p) or thread ID (-t); previously -p
        actually filtered on thread ID (aka "pid" in kernel-speak)
      * include process and thread ID in output
      * flip order of user and kernel stacks to flow more naturally
      * resolve symbols using process ID instead of thread ID so only one symbol
        cache is instantiated per process
      * misc aesthetic fixes here and there
      aa6c9168
  6. 02 Nov, 2016 2 commits
  7. 31 Oct, 2016 1 commit
  8. 30 Oct, 2016 2 commits
  9. 28 Oct, 2016 1 commit
  10. 27 Oct, 2016 1 commit
  11. 26 Oct, 2016 1 commit
  12. 25 Oct, 2016 3 commits
  13. 21 Oct, 2016 3 commits
  14. 20 Oct, 2016 12 commits
  15. 19 Oct, 2016 6 commits
    • Brendan Gregg's avatar
      Merge pull request #763 from goldshtn/enhanced-funccount · 56ddca09
      Brendan Gregg authored
      funccount: Generalized for uprobes, tracepoints, and USDT
      56ddca09
    • Sasha Goldshtein's avatar
      python: Fix kprobe quota test breakage, add uprobes · 367234ad
      Sasha Goldshtein authored
      As part of the funccount work, the kprobe quota test doesn't fail
      early when adding multiple kprobes at once (with `event_re`), but
      rather only when the 1000th probe is being added. Revert to the old
      behavior, which fixes the `test_probe_quota` test. Add similar test
      for uprobes, `test_uprobe_quota`, which tests the recently-added
      uprobe regex support.
      367234ad
    • Sasha Goldshtein's avatar
      funccount: Generalize for uprobes, tracepoints, and USDT · ff3b9f37
      Sasha Goldshtein authored
      This commit updates `funccount` to support attaching to a set of
      user functions, kernel tracepoints, or USDT probes using familiar
      syntax. Along the way, the implementation has been updated to use
      a separate BPF function for each target function, because using
      the instruction pointer to determine the function name doesn't
      work for anything other than kprobes. Even though the BPF program
      can now be potentially larger, testing with 40-50 attach points
      shows no significant overhead compared to the previous version.
      
      Examples of what's now possible:
      
      ```
      funccount t:block:*
      funccount u:node:gc*
      funccount -r 'c:(read|write)$'
      funccount -p 142 u:ruby:object__create
      ```
      ff3b9f37
    • Sasha Goldshtein's avatar
      bcc: Make regex helpers publicly accessible · e84febdf
      Sasha Goldshtein authored
      Make the `get_user_functions`, `get_kprobe_functions`, and
      `get_tracepoints` methods publicly accessible from the BPF class.
      These can then be used by tools that need to do their own work
      before attaching programs to a set of functions or tracepoints.
      e84febdf
    • Sasha Goldshtein's avatar
      b778ccd9
    • Brendan Gregg's avatar
      ac297c1e