Skip to content
Snippets Groups Projects
  1. May 25, 2020
  2. Jul 09, 2019
  3. Jun 30, 2019
    • William Wang's avatar
      Add cli argument to limit run time (#2428) · 8bd65dd6
      William Wang authored
      If a user is granted sudo access only to btrfsslower.py and not kill or timeout, then user is unable to limit the runtime of btrfsslower.py. The optional cli argument stops execution of program after specified number of seconds passes.
      8bd65dd6
  4. Feb 15, 2019
  5. Jan 16, 2019
  6. Jan 03, 2019
  7. Dec 19, 2018
  8. Oct 09, 2018
    • jeromemarchand's avatar
      Bytes/string encoding (#2004) · b96ebcd2
      jeromemarchand authored
      * tools: uses 'replace' error handler by default in decode()
      
      Tools might encouter characters from non utf-8 charset (e.g. a file
      name). When this happen, it's better to replace the unexpected
      character by a question mark than crash the tool when all we do is
      to print the string.
      
      * tools: fix a bytes/string issue in attach_perf_event()
      b96ebcd2
  9. May 06, 2018
  10. Mar 02, 2018
  11. Feb 02, 2018
  12. Oct 23, 2017
  13. Mar 26, 2017
    • Rafael F's avatar
      Python 3 compatibility fixes around string handling (#986) · 78948e4a
      Rafael F authored
      This fixes the bcc module and all the affected tools for issues related to string handling in Python 3. Specifically, when passing Python strings to C libraries they are encoded as ASCII, and when constructing Python strings from C strings, they are decoded first.
      78948e4a
  14. Feb 27, 2017
    • Mark Drayton's avatar
      Make perf ring buffer size configurable · 5f5687e4
      Mark Drayton authored
      As discussed in #966, this PR makes the size of the ring buffer used to send
      data to userspace configurable. It changes the Python, Lua and C++ APIs to
      expose this knob.
      
      It also defaults the buffer size to a larger value (64 pages per CPU, an 8x
      increase) for several tools which produce a lot of output, as well as making it
      configurable in `trace` via a `-b` flag.
      5f5687e4
  15. Oct 21, 2016
  16. Oct 18, 2016
  17. Jun 27, 2016
  18. May 05, 2016
  19. Feb 16, 2016
  20. Feb 12, 2016
Loading