1. 13 Nov, 2016 1 commit
    • Sasha Goldshtein's avatar
      trace: Avoid passing -1 as the pid to USDT · dd04536d
      Sasha Goldshtein authored
      When the `-p` switch is used with `trace`, it would set
      the tgid to the value passed to `-p` and set the pid to
      -1. The result would be incorrect logic that passed the -1
      pid value to the `USDT` context constructor, which fails
      for probes that require the pid to enable (because they
      have a semaphore that needs a poke). This commit fixes it.
      dd04536d
  2. 14 Nov, 2016 2 commits
  3. 11 Nov, 2016 2 commits
  4. 09 Nov, 2016 4 commits
  5. 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
  6. 07 Nov, 2016 1 commit
  7. 05 Nov, 2016 2 commits
  8. 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
  9. 02 Nov, 2016 2 commits
  10. 31 Oct, 2016 1 commit
  11. 30 Oct, 2016 2 commits
  12. 28 Oct, 2016 1 commit
  13. 27 Oct, 2016 1 commit
  14. 26 Oct, 2016 1 commit
  15. 25 Oct, 2016 3 commits
  16. 21 Oct, 2016 3 commits
  17. 20 Oct, 2016 11 commits