1. 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
  2. 24 Nov, 2016 2 commits
    • 4ast's avatar
      Merge pull request #817 from iovisor/clang_c_fixes · 81f7fb32
      4ast authored
      Fixup test errors in clang, c api
      81f7fb32
    • Brenden Blanco's avatar
      Fixup test errors in clang, c api · 35c7225f
      Brenden Blanco authored
      Some errors seem to have cropped up due to updating kernels and clang
      library versions.
      1. test_c_api fails on kernels (seen on fedora 4.9) where startup_64
      doesn't start at a particular address. Simplify the test to hopefully
      work in more systems.
      2. The lua and python test_clang did a dereference on a particular bio
      field, which has been removed. Pick a different field that is more
      uniquitous.
      3. test_xlate1 was generating code where the verified pointer spilled.
      Rewrite the example to store the result on the stack.
      Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
      35c7225f
  3. 18 Nov, 2016 1 commit
  4. 14 Nov, 2016 2 commits
  5. 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
  6. 11 Nov, 2016 2 commits
  7. 09 Nov, 2016 4 commits
  8. 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
  9. 07 Nov, 2016 1 commit
  10. 05 Nov, 2016 2 commits
  11. 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
  12. 02 Nov, 2016 2 commits
  13. 31 Oct, 2016 1 commit
  14. 30 Oct, 2016 2 commits
  15. 28 Oct, 2016 1 commit
  16. 27 Oct, 2016 1 commit
  17. 26 Oct, 2016 1 commit
  18. 25 Oct, 2016 3 commits
  19. 21 Oct, 2016 3 commits
  20. 20 Oct, 2016 7 commits