1. 11 May, 2017 2 commits
  2. 10 May, 2017 8 commits
  3. 09 May, 2017 8 commits
  4. 05 May, 2017 3 commits
  5. 04 May, 2017 5 commits
    • Ulrich Drepper's avatar
      Merge pull request #1 from drepper/fedora-compile-2 · e674174e
      Ulrich Drepper authored
      Fix computation of LUAJIT_INCLUDE_DIR
      e674174e
    • drepper@gmail.com's avatar
      Fix computation of LUAJIT_INCLUDE_DIR · 1af7a1ca
      drepper@gmail.com authored
      I don't think the current way cmake uses to locate the correct lua.h
      works.  Entries like "include/foo.h" cause cmake to look for a file
      like "/usr/include/include/foo.h".  I.e., the include/ prefix for
      all the entries is wrong as is adding "include" at the end.
      
      This patch removes the prefix.  With it bcc finally compiles on
      Fedora.
      
      If this change causes a problem there is something seriously wrong
      with cmake.
      1af7a1ca
    • Brenden Blanco's avatar
      Merge pull request #1152 from palmtenor/pyfuture · 7761961d
      Brenden Blanco authored
      Add documentation to guide future scripts to be Python3-ready
      7761961d
    • Ulrich Drepper's avatar
      Make match_so_flags a bit mre robust · ce0981b0
      Ulrich Drepper authored
      I cannot say that I understand the purpose behind the match_so_flags
      function.  Is it supposed to be an exhaustive check?  Just a quick
      check?  Is it always required to find the DSO which would be used
      by the current process?  Should there be an overwrite?
      
      In any case, the current way seems to be wholly inadequate.  It
      somehow assumes a specific order of the DSO in the list read from
      the ld.so cache.  That's fragile at best.
      
      In the case of one of my machines, I run a x86-64 process and try
      to find a symbol in libc.  The first DSO returned in the cache
      matching "libc.so" is /libx32/libc.so.6 (i.e., the x32 version of
      libc).  Using the file works but the DSO is not used.
      
      I assume the idea behind the short form "c" for the module name
      is to use the DSO of the same type as the running process.  As is
      all platforms not matching the listed 64-bit platforms are blindly
      accepted.
      
      I suggest at the very least to check for the case of the non-64-bit
      DSO in the cache to check that the running program is also 32-bit.
      This patch does this.
      
      In the longer run a more robust check should be implemented which
      compares the current process' ELF header with that of the found DSO.
      If this is the desired direction let me know and I'll come up with
      a patch.
      ce0981b0
    • Ulrich Drepper's avatar
      Accept luajit as DSO · 845d3636
      Ulrich Drepper authored
      Some Linux distributions (at least Fedora and RHEL) do not provide
      libluajit as an archive and instead only as a DSO.  Using the DSO
      does not have any negative impact but the cmake script does not
      check for the DSO files and instead fails to find luajit.
      
      This simple change causes cmake to find the file as named in the
      above distributions.  Maybe more change or a generalized method are
      needed in future.  The prefered way to detect the DSO for Fedora/RHEL
      would be to use pkgconfig but I don't propose to use it at this time.
      845d3636
  6. 03 May, 2017 7 commits
  7. 02 May, 2017 3 commits
  8. 01 May, 2017 3 commits
    • Teng Qin's avatar
      Don't refresh already gone PIDs · 552f4c69
      Teng Qin authored
      Currently we check if `ProcSyms` needs refresh for every symboling call.
      However if the `ProcSyms` was loaded, but the Process terminated later,
      we will see it as a "need refresh" and effectively clear the symbol
      table and not able to resovle anything anymore.
      
      This commit changes so that we only refresh when the PID still exists
      (but differnt from what loaded).
      552f4c69
    • Teng Qin's avatar
      Don't always reload empty Modules · 7efd2dc8
      Teng Qin authored
      Currently we think the Module's symbol table is not loaed as long as its
      empty. But some times we were just not able to read the symbols from the
      binary / perf map, or didn't get symbol from the read. This commit makes
      so that we don't end up trying to do a read on each lookup.
      7efd2dc8
    • Brenden Blanco's avatar
      Merge pull request #1145 from skottler/install-sudo-debian-container · 2e38eeda
      Brenden Blanco authored
      Install sudo inside the debian build container
      2e38eeda
  9. 30 Apr, 2017 1 commit