1. 16 Feb, 2017 8 commits
    • Brendan Gregg's avatar
      Merge branch 'master' into db-tools · 232c305f
      Brendan Gregg authored
      232c305f
    • Brenden Blanco's avatar
      Merge pull request #971 from goldshtn/syscount · 8ca91fca
      Brenden Blanco authored
      syscount: Summarize syscall counts and latencies
      8ca91fca
    • Brenden Blanco's avatar
      Merge pull request #982 from irregulator/master · 30aece23
      Brenden Blanco authored
      Adds zlib1g-dev Debian package build dependency
      30aece23
    • Alexandros's avatar
      Adds zlib1g-dev Debian package build dependency · 4ee5449e
      Alexandros authored
      When building from source in Debian, zlib1g-dev is needed or else
      '/usr/bin/ld: cannot find -lz' error will occur.
      4ee5449e
    • Sasha Goldshtein's avatar
      syscount: Summarize syscall counts and latencies · 8e583cca
      Sasha Goldshtein authored
      This new tool attaches to the raw_syscalls:sys_enter and sys_exit
      tracepoints, and collects frequency counts and optionally latencies
      of syscalls (aggregated by syscall or by process). It is a fairly
      natural and efficient extension of Brendan Gregg's syscount from
      perf-tools. Options include latency tracing, interval printouts,
      process filtering, summarizing only failed syscalls, and more.
      
      NOTE:
      The translation of syscall numbers to names is performed using a
      static list, borrowed from strace sources. It is accurate up to
      syscall 313, and does not include the bpf() syscall, for example.
      Also, it is only relevant for x86_64.
      
      Basic example:
      
      ```
      $ syscount -P
      Tracing syscalls, printing top 10... Ctrl+C to quit.
      [10:13:21]
      PID    COMM               COUNT
      30216  sshd                 533
      31391  vi                   494
      25188  screen               134
      25776  mysqld                24
      31394  python                10
      494    systemd-journal        5
      ^C
      
      $ syscount -L
      Tracing syscalls, printing top 10... Ctrl+C to quit.
      [10:13:34]
      SYSCALL                   COUNT        TIME (us)
      select                      132      1902458.009
      nanosleep                   166        11136.305
      write                        89           41.308
      ftruncate                     1           33.217
      stat                          1           22.117
      fstat                         1            6.134
      [unknown: 321]               28            4.553
      ioctl                         7            4.544
      wait4                       166            3.962
      timerfd_settime               1            3.786
      ^C
      ```
      
      Related: #786
      8e583cca
    • Sasha Goldshtein's avatar
      2161e75c
    • Sasha Goldshtein's avatar
      dbstat: Collect histograms of MySQL/PostgreSQL query latencies · 24956989
      Sasha Goldshtein authored
      This tool traces MySQL/PostgreSQL queries, and aggregates their
      latencies into a histogram. The histogram is then printed when the
      tool is stopped, or at user-specified intervals.
      24956989
    • Sasha Goldshtein's avatar
      dbslower: MySQL/PostgreSQL query tracing tool · dd37d638
      Sasha Goldshtein authored
      This tool traces MySQL/PostgreSQL queries, including an optional
      minimum duration threshold. This is based on `mysqld_qslower` but
      adapted to automatically detect MySQL/PostgreSQL processes, and a
      couple of other code fixes.
      
      I believe at this time, `mysqld_qslower` can be retired, as this
      tool completely supersedes it.
      dd37d638
  2. 15 Feb, 2017 3 commits
  3. 14 Feb, 2017 9 commits
  4. 13 Feb, 2017 12 commits
  5. 10 Feb, 2017 5 commits
  6. 09 Feb, 2017 3 commits