• Lucian Adrian Grijincu's avatar
    tools: syscount: add --errno=EPERM filter · 5426ef24
    Lucian Adrian Grijincu authored
    Similar to `--filter` which reports all failing syscalls,
    `--errno=ENOENT` reports syscalls failing with the specified errno value.
    
    ```
    $ sudo bcc/tools/syscount.py -e ENOENT
    Tracing syscalls, printing top 10... Ctrl+C to quit.
    ^C[12:07:13]
    SYSCALL                   COUNT
    open                        330
    stat                        240
    access                       63
    execve                       22
    readlink                      3
    ```
    5426ef24
syscount.py 13.1 KB