Hacker GitHub

← All repos

brendangregg/perf-tools

View on GitHub ↗ ★ 10,483 Shell

Performance analysis tools based on Linux perf_events (aka perf) and ftrace

10 mentions on Hacker News by 8 people: 1 story, 9 comments · first 2014-07-17 · latest 2023-12-30

Mentions per year 10 mentions · busiest year 2014 (3)
20082026
  1. …was written Brendan Gregg (who previous did a lot of work on Solaris, where DTrace was created): * https://github.com/brendangregg/perf-tools/blob/master/execs... * https://github.com/iovisor/bcc/blob/master/tools/execsnoop.p...
    comment by throw0101b · 2023-12-30 · in Hidden gems of moreutils
  2. …which is standard on macOS. https://www.brendangregg.com/blog/2014-07-25/opensnoop-for-l... https://github.com/brendangregg/perf-tools/blob/master/opens...
  3. …above, if strace is not enough perf trace - if you don't know the exact process to strace upfront https://github.com/brendangregg/perf-tools - to track disk accesses or exec calls env LD_DEBUG=all - debugging dynamic linker issues
  4. …kernel features and works with things as old as ubuntu 12.04. *Edit: Fixed Brendan's name [1]: https://github.com/brendangregg/perf-tools
    comment by helper · 2016-10-27 · in DTrace for Linux 2016
  5. …pidstat -d iotop # Networking netstat -s tcpdump tcpretrans # from perf-tools Where perf-tools is https://github.com/brendangregg/perf-tools .
    comment by brendangregg · 2015-12-01 · in Linux Performance Analysis
  6. …and later uprobes. These are much more difficult to use (which is why I wrote some front-ends: https://github.com/brendangregg/perf-tools ). But if you really cared about performance, you could use them. So it's not that Linux has been…
    comment by brendangregg · 2015-09-23 · in Bcc: Taming Linux 4.3+ Tracing Superpowers
  7. Those scripts and more for Linux (3.2 or newer) using perf_events/ftrace: https://github.com/brendangregg/perf-tools
  8. …sudo execsnoop -c bash On Linux, that requires work which fortunately Brendan Gregg already did: https://github.com/brendangregg/perf-tools/blob/master/execs...
  9. I just added an experimental execsnoop to the repo as well: https://github.com/brendangregg/perf-tools .
    comment by brendangregg · 2014-07-17 · in Iosnoop For Linux