1. 30 Nov, 2016 3 commits
  2. 29 Nov, 2016 13 commits
  3. 28 Nov, 2016 1 commit
    • William Cohen's avatar
      Eliminate rpmlint errors and allow bcc srpm to build on Fedora koji b… (#815) · 5794642f
      William Cohen authored
      * Eliminate rpmlint errors and allow bcc srpm to build on Fedora koji build system
      
      The nightly bcc srpm does not build as-is on Fedora 24. To get the
      build to work the following changes were made in the bcc.spec file:
      
      -Specify where to find luajit headers and libraries
      -Correctly limit the build to the x86_64 architecture
      -Add needed build requires so the srpm can build on Fedora koji
      -Run ldconfig so shared library information is updated
      -Follow spec conventions by putting %changelog at the end of the spec file
      
      * Further refine the bcc.spec file
      
      Make the following improvements to the gcc.spec file:
      
      -Use local_clang_static variable to allow building with locally installed clang
      -Adjust build requires to include nucurses-devel and make
      -Put the subpackage descriptions and file list in a more logical order
      -Correct the binary rpm dependencies for the subpackages
      5794642f
  4. 24 Nov, 2016 7 commits
  5. 18 Nov, 2016 1 commit
  6. 14 Nov, 2016 2 commits
  7. 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
  8. 11 Nov, 2016 2 commits
  9. 09 Nov, 2016 4 commits
  10. 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
  11. 07 Nov, 2016 1 commit
  12. 05 Nov, 2016 2 commits
  13. 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