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. …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…
  9. …and AWSes of this world to just provide the eventual mature release as a standard package. [1] https://github.com/iovisor/bcc/issues/3993
  10. There's a bunch of examples over at https://github.com/iovisor/bcc
  11. 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)
  12. …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
  13. Using eBPF based tools (like bcc) to debug the issues https://github.com/iovisor/bcc
  14. …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
  15. https://github.com/iovisor/bcc/blob/master/docs/reference_gu...
  16. 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.
  17. …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
  18. …and arguments associated with that session. My application was heavily influenced by execsnoop: https://github.com/iovisor/bcc/blob/master/tools/execsnoop.p...
  19. …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
  20. …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
  21. …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
  22. …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
  23. …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...
  24. …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…
  25. If one doesn’t exist out of the box you can relatively simply roll your own using bcc https://github.com/iovisor/bcc .
  26. 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
  27. …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
  28. …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
  29. …[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)
  30. Also the 'BPF Compiler Collection' has tools to do this kind of thing too: https://github.com/iovisor/bcc/blob/master/tools/tcptop.py
  31. …schedule, it's most commonly used interface is through it's python bindings (a library called BCC): https://github.com/iovisor/bcc
  32. …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-... ).
  33. 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 -…
  34. Check bcc-tools: https://github.com/iovisor/bcc/tree/master/tools
  35. …include bpftrace[1] or C, Python or Lua via BCC[2] 1: https://github.com/iovisor/bpftrace 2: https://github.com/iovisor/bcc
  36. 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...
  37. …has a really low impact on performance when compared with other tools that do similar work. https://github.com/iovisor/bcc
  38. 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
  39. …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
  40. …(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
  41. https://github.com/iovisor/bcc/tree/master/examples/cpp/pype...
    comment by bdd · 2019-10-10 · in BPF at Facebook and beyond
  42. …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
  43. …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
  44. Some examples: https://github.com/iovisor/bcc/tree/master/tools
  45. …ps://blog.cloudflare.com/l4drop-xdp-ebpf-based-ddos-mitig... Performance engineering, debugging, etc: https://github.com/iovisor/bcc https://github.com/iovisor/bpftrace Brendan Gregg is all on board the BPF train as well - check out all…
  46. bcc https://github.com/iovisor/bcc if you need low-level abstractions or bpftrace https://github.com/iovisor/bpftrace if you need something simpler (similar to dtrace)
    comment by asgeir · 2019-05-04 · in eBPF Can't Count?
  47. …took quite a bit of work. [1]: https://raw.githubusercontent.com/dotnet/corefx-tools/master... [2]: https://github.com/iovisor/bcc/blob/master/tools/profile.py
    comment by rhinoceraptor · 2019-01-15 · in Performance Tuning for .NET Core
  48. …boxes, I failed to do so. The situation has not changed for over a year. I'm not the only one: https://github.com/iovisor/bcc/issues/678 https://github.com/iovisor/bcc/issues/1434 https://github.com/iovisor/bcc/issues/1985
  49. …"tool": https://qmonnet.github.io/whirl-offload/2016/09/01/dive-into... BCC is built on eBPF: https://github.com/iovisor/bcc It's really cool new debugging and analysis stuff for the Linux Kernel. I'm asking my team to learn it ASAP.
  50. …etc). Caveats: it's Lua, it doesn't fast track all the latest from bcc as it's a "for fun" project. https://github.com/iovisor/bcc/tree/master/src/lua#luajit-bp...