• 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
ext4slower.py 9.27 KB