Hacker GitHub

← All repos

iovisor/bcc

View on GitHub ↗ ★ 22,726 C

BCC - Tools for BPF-based Linux IO analysis, networking, monitoring, and more

78 mentions on Hacker News by 64 people: 12 stories, 66 comments · first 2016-02-03 · latest 2026-08-10

Mentions per year 78 mentions · busiest year 2016 (16)
20082026
  1. …AI agent handles the implementation for you. For anybody looking for XDP-supported drivers/NICs -> https://github.com/iovisor/bcc/blob/master/docs/kernel-versi...
  2. …the same time. For example, there's a working implementation discussed as early as March 2021: https://github.com/iovisor/bcc/issues/1234#issuecomment-7875...
    comment by BigRedEye · 2026-03-27 · in OpenTelemetry profiles enters public alpha
  3. …way, e.g. because the new compiler version implemented an optimization that broke the verifier (see https://github.com/iovisor/bcc/issues/4612 ) * Checksum updating requires extra care. I believe you can only do incremental updates, not…
    comment by cptnntsoobv · 2025-11-05 · in An eBPF loophole: Using XDP for egress traffic
  4. …tracing tools" https://www.brendangregg.com/BPF/bcc_tracing_tools_early2019... [0] iovisor/bcc: https://github.com/iovisor/bcc [1] "Linux Extended BPF (eBPF) Tracing Tools", Dtrace book: https://www.brendangregg.com/ebpf.html If running an…
  5. that's really cool. to gain traction i would start with reimplementing all the tools from https://github.com/iovisor/bcc/tree/master/libbpf-tools in PythonBPF.
  6. It is quite simple to use eBPF with uprobes to hook library calls, for example: https://github.com/iovisor/bcc/blob/master/tools/sslsniff.py The downside is this doesn't work with anything not using OpenSSL, there are projects like…
  7. eBPF has entered the chat: https://github.com/iovisor/bcc https://www.youtube.com/watch?v=Wb_vD3XZYOA
    comment by ranger_danger · 2024-11-08 · in Intentrace: Strace for Everyone
  8. ▲ 1
    Bcc: Powerful BPF-Based Linux IO Analysis and Monitoring Tools
    story by AlphaBiz · 2024-08-07 · 0 comments
  9. …already available in many distros: https://github.com/bpftrace/bpftrace/blob/master/tools/sslsn... https://github.com/iovisor/bcc/blob/master/tools/sslsniff.py https://embracethered.com/blog/posts/2021/offensive-bpf-snif... On Ubuntu for…
  10. …and AWSes of this world to just provide the eventual mature release as a standard package. [1] https://github.com/iovisor/bcc/issues/3993
  11. There's a bunch of examples over at https://github.com/iovisor/bcc
  12. Nice - I normally use [bash-readline]( https://github.com/iovisor/bcc/blob/master/tools/bashreadlin... ) when coworking/co-inhabiting a server or training someone.
    comment by walth · 2024-04-19 · in Linux: Easy Keylogger with eBPF (2018)
  13. …stuff” but there are very nice low-cost (in terms of compute) performance utilities built on eBPF https://github.com/iovisor/bcc There are so many utilities in that list; there’s a diagram midway down the readme which tries to help show…
    comment by jeremiahbuckley · 2024-03-11 · in eBPF Documentary
  14. Using eBPF based tools (like bcc) to debug the issues https://github.com/iovisor/bcc
  15. …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
  16. https://github.com/iovisor/bcc/blob/master/docs/reference_gu...
  17. In Linux you can use eBPF. See https://github.com/iovisor/bcc for an easy way to write eBPF, or look for something in the tools/ dir that does what you want. You distro might have these packaged in bcc-tools or similar.
  18. …out right now. If I am not allowed to use pointers or whatever, then say so in the beginning. [1] https://github.com/iovisor/bcc [2] https://github.com/libbpf/libbpf [3] https://github.com/xdp-project/xdp-tools [4]…
    comment by cookiengineer · 2023-06-23 · in eBPF Verification Is Untenable
  19. …and arguments associated with that session. My application was heavily influenced by execsnoop: https://github.com/iovisor/bcc/blob/master/tools/execsnoop.p...
  20. …fact there is a tool in BCC[0] called filetop, which lists reads/writes by process and file[1]. 0. https://github.com/iovisor/bcc 1. https://github.com/iovisor/bcc/blob/master/tools/filetop.py
  21. …and we would like to support as many users as possible! [0]: https://lwn.net/Articles/877062/ [1]: https://github.com/iovisor/bcc/commit/38304256c49a02aecbf78f...
    comment by javierhonduco · 2022-11-30 · in DWARF-Based Stack Walking Using eBPF
  22. …Format (BTF): since 4.18 [0]: https://www.kernel.org/doc/html/latest/bpf/bpf_design_QA.htm... [1]: https://github.com/iovisor/bcc/blob/master/docs/kernel-versi...
    comment by javierhonduco · 2022-11-29 · in DWARF-Based Stack Walking Using eBPF
  23. ▲ 2
    The BCC collection of BPF tools
    story by pushedx · 2022-10-18 · 1 comment
  24. …do really cool things that have never been done before! BPF is not that hard to get started with! https://github.com/iovisor/bcc/tree/master/tools
  25. …have it mentioned under the limitations section for picosnitch so others can be aware as well. [0] https://github.com/iovisor/bcc/blob/master/docs/reference_gu...
  26. …and latency of IO operations submitted to ZFS vs the same stats for IO submitted to the disks with https://github.com/iovisor/bcc Once you figure out what layer (application? VFS/cache? file system? IO elevator? HBA? disk firmware?) the…
  27. If one doesn’t exist out of the box you can relatively simply roll your own using bcc https://github.com/iovisor/bcc .
  28. Some of the most interesting BPF applications seem to be these tools here: https://github.com/iovisor/bcc
    comment by kzrdude · 2021-10-10 · in Taming the BPF Superpowers
  29. …when writing eBPF tool man pages [0]: If the overhead can be bad, it should say so clearly. [0] https://github.com/iovisor/bcc/blob/master/CONTRIBUTING-SCRI...
    comment by brendangregg · 2021-09-06 · in ZFS is mysteriously eating my CPU
  30. …programs can be written using a limited dialect of C. Some examples of its use can be found here: https://github.com/iovisor/bcc/tree/master/examples
    comment by WillDaSilva · 2021-07-03 · in How to add eBPF observability to your product
  31. …[1], it is a great collection of python wrapped bpf tools that is a little more user friendly. [1] https://github.com/iovisor/bcc
    comment by bostonsre · 2021-06-15 · in Usenix LISA2021 BPF Internals (eBPF)
  32. Also the 'BPF Compiler Collection' has tools to do this kind of thing too: https://github.com/iovisor/bcc/blob/master/tools/tcptop.py
  33. …schedule, it's most commonly used interface is through it's python bindings (a library called BCC): https://github.com/iovisor/bcc
  34. …there are various ways to find out who is sending that signal, killsnoop being one (part of bcc: https://github.com/iovisor/bcc ), another using a trivial systemtap script ( https://www.ibm.com/support/pages/systemtap-kill-who-killed-... ).
  35. https://github.com/iovisor/bcc/blob/master/docs/reference_gu... lists the hook points where BPF code can be attached. Also take a look at https://blogs.oracle.com/linux/notes-on-bpf-1 (there are follow-ups -…
  36. Check bcc-tools: https://github.com/iovisor/bcc/tree/master/tools
  37. …include bpftrace[1] or C, Python or Lua via BCC[2] 1: https://github.com/iovisor/bpftrace 2: https://github.com/iovisor/bcc
  38. ▲ 4
    BPF Compiler Collection
    story by juancampa · 2020-07-21 · 0 comments
  39. bcc also has opensnoop, which is really nice for seeing which files are being opened: https://github.com/iovisor/bcc/blob/master/tools/opensnoop_e...
  40. …has a really low impact on performance when compared with other tools that do similar work. https://github.com/iovisor/bcc
  41. ▲ 1
    Ask HN: Looking for an interactive way to improve Linux debugging skills
    story by kmille · 2020-04-23 · 0 comments
  42. ▲ 2
    BPF Python Profiling (2019)
    story by phsilva · 2020-03-24 · 0 comments
  43. ▲ 3
    Kernel Lockdown Impact on BPF
    story by DyslexicAtheist · 2020-03-21 · 0 comments
  44. You could do something like this more efficiently using eBPF I bet. E.g. based on TCPLife https://github.com/iovisor/bcc/blob/master/tools/tcplife.py
  45. …The BPF programs are often written in C and compiled using a BPF backed to llvm using this project: https://github.com/iovisor/bcc This should be useful any time you need a high performance, high security way to instrument or extend a C…
    comment by etaioinshrdlu · 2019-12-03 · in BPF: A New Type of Software
  46. …(I'm still trying find the time to get through it though). There's also https://github.com/iovisor/bcc#tools as an easy way to get started using BPF.
    comment by GrayShade · 2019-12-03 · in BPF: A New Type of Software
  47. https://github.com/iovisor/bcc/tree/master/examples/cpp/pype...
    comment by bdd · 2019-10-10 · in BPF at Facebook and beyond
  48. …the performance tracing use cases are some of the big ones. https://www.iovisor.org/technology/xdp https://github.com/iovisor/bcc https://github.com/iovisor/bpftrace
    comment by cthalupa · 2019-09-09 · in GCC eBPF for Linux port has landed
  49. …is not very good Totally agree. Have had horrible experiences with inotify. I was able to modify https://github.com/iovisor/bcc/blob/master/tools/filelife.py and get a good alternative to find new files. It still isn't polished and haven't…
    comment by navinsylvester · 2019-07-12 · in Linux Observability with BPF
  50. Some examples: https://github.com/iovisor/bcc/tree/master/tools