LWN: Comments on "Some advanced BCC topics" https://lwn.net/Articles/747640/ This is a special feed containing comments posted to the individual LWN article titled "Some advanced BCC topics". en-us Thu, 04 Sep 2025 05:26:04 +0000 Thu, 04 Sep 2025 05:26:04 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Some advanced BCC topics https://lwn.net/Articles/748537/ https://lwn.net/Articles/748537/ mathstuf <div class="FormattedComment"> <font class="QuotedText">&gt; without having changed a bit</font><br> <p> I see Debian Jessie in the list there, so it's not completely unchanged. ;)<br> </div> Mon, 05 Mar 2018 15:24:50 +0000 Some advanced BCC topics https://lwn.net/Articles/748475/ https://lwn.net/Articles/748475/ nix <div class="FormattedComment"> If you want a blast from the past, <a href="http://tvision.sf.net/">http://tvision.sf.net/</a> might be worth a look, or would be if *.sf.net wasn't down at the moment. (It's amazing how archaic it seems now, without having changed a bit.)<br> </div> Sat, 03 Mar 2018 18:51:53 +0000 Some advanced BCC topics https://lwn.net/Articles/748440/ https://lwn.net/Articles/748440/ mathstuf <div class="FormattedComment"> I think it was my first C++ compiler[1] (the Dev-C++ IDE), though mostly due to it being free and me being just a grade school student. I don't remember having bad experiences with it specifically, but it has not kept up with the times…<br> <p> [1]TI-GCC was probably my first C compiler.<br> </div> Fri, 02 Mar 2018 17:39:03 +0000 Some advanced BCC topics https://lwn.net/Articles/748327/ https://lwn.net/Articles/748327/ ianmcc <div class="FormattedComment"> A good compiler in its day though. Borland C++ was astounding, compared with the Microsoft C++ at the time - it was a decade or so (and a change of head of their C++ group) before Microsoft decided that any kind of standards compliance was worth aiming for.<br> </div> Thu, 01 Mar 2018 12:26:30 +0000 Some advanced BCC topics https://lwn.net/Articles/748107/ https://lwn.net/Articles/748107/ mathstuf <div class="FormattedComment"> The "bcc" tool could also have been the Borland compiler (historically). Woe to those still using it.<br> </div> Mon, 26 Feb 2018 21:34:12 +0000 Some advanced BCC topics https://lwn.net/Articles/748024/ https://lwn.net/Articles/748024/ ncultra <div class="FormattedComment"> Timely and relevant article, thank you, love to see more. The previous article helped me the same day it was published with a kernel performance evaluation I was doing. I ended up running more than 6k KVM guests on a huge machine and got scheduling latency data using BCC. I spent most of my work time building LLVM for the linux distro I had to use, which is a variant of fedora. Once that task was finished, the hardest thing I had to do was to decide which particular tool of many was best to use. If anyone is on the fence because of the LLVM requirement, I would say go ahead, its worth it.<br> </div> Mon, 26 Feb 2018 15:11:19 +0000 Some advanced BCC topics https://lwn.net/Articles/747954/ https://lwn.net/Articles/747954/ justincormack <div class="FormattedComment"> There is a LuaJIT backend see <a href="https://github.com/iovisor/bcc/tree/0c8c179fc1283600887efa46fe428022efc4151b/src/lua">https://github.com/iovisor/bcc/tree/0c8c179fc1283600887ef...</a><br> </div> Sat, 24 Feb 2018 20:04:52 +0000 Some advanced BCC topics https://lwn.net/Articles/747940/ https://lwn.net/Articles/747940/ xtifr <div class="FormattedComment"> Not to mention the specialized 8086 C compiler you'll get if you type "apt-get install bcc" on most Debian based systems. Which claims to be important for "the development of boot loaders or BIOS-related 8086 code".<br> <p> A mildly unfortunate overloading of TLAs at best.<br> </div> Sat, 24 Feb 2018 01:07:31 +0000 Some advanced BCC topics https://lwn.net/Articles/747935/ https://lwn.net/Articles/747935/ Cyberax <div class="FormattedComment"> bpfd is a horrible hack.<br> <p> It just seems a waste to require the full LLVM machinery when the target is so simple and most scripts are trivial. A good old one-pass translator will probably be more than sufficient for most of users.<br> </div> Fri, 23 Feb 2018 22:18:39 +0000 Some advanced BCC topics https://lwn.net/Articles/747934/ https://lwn.net/Articles/747934/ Cyberax <div class="FormattedComment"> Yes, something like this. Would be nice to have it in Python completely to avoid having to compile it on Android. <br> </div> Fri, 23 Feb 2018 22:17:04 +0000 Some advanced BCC topics https://lwn.net/Articles/747933/ https://lwn.net/Articles/747933/ blubber <div class="FormattedComment"> In terms of language (although that's probably not your question), there's bpftrace which is dtrace style syntax, but it also uses LLVM in the background though <br> (<a href="https://github.com/ajor/bpftrace">https://github.com/ajor/bpftrace</a>).<br> <p> Another project that allows for making it easier to run bcc on remote systems is bpfd which seems to be used by Android folks. It allows to run bcc on a remotely connected system without the need to have the entire LLVM infrastructure there. The announcement of the project was here <a href="https://lkml.org/lkml/2017/12/29/137">https://lkml.org/lkml/2017/12/29/137</a> (<a href="https://github.com/joelagnel/bpfd">https://github.com/joelagnel/bpfd</a>). Perhaps this might rather be what you could be looking for wrt remote system.<br> </div> Fri, 23 Feb 2018 22:12:43 +0000 Some advanced BCC topics https://lwn.net/Articles/747917/ https://lwn.net/Articles/747917/ danielthompson <div class="FormattedComment"> There's ply: <a href="https://github.com/iovisor/ply">https://github.com/iovisor/ply</a> . Is that the sort of thing you have in mind?<br> </div> Fri, 23 Feb 2018 15:57:10 +0000 Some advanced BCC topics https://lwn.net/Articles/747866/ https://lwn.net/Articles/747866/ akkornel <div class="FormattedComment"> Completely off-topic:<br> <p> A good April 1st thing would be to post a follow-up, "Some more advanced BCC topics", and have the article be entirely about email.<br> </div> Fri, 23 Feb 2018 04:20:48 +0000 Some advanced BCC topics https://lwn.net/Articles/747864/ https://lwn.net/Articles/747864/ unixbhaskar <div class="FormattedComment"> Nice write-up Matt! thanks a bunch...learned a lot.<br> </div> Fri, 23 Feb 2018 02:48:55 +0000 Some advanced BCC topics https://lwn.net/Articles/747863/ https://lwn.net/Articles/747863/ unixbhaskar <div class="FormattedComment"> Yup, that's a good point. <br> </div> Fri, 23 Feb 2018 02:47:55 +0000 Some advanced BCC topics https://lwn.net/Articles/747850/ https://lwn.net/Articles/747850/ Cyberax <div class="FormattedComment"> Are there any smaller (and more feature-limited) BPS languages that don't require full LLVM+Clang to compile?<br> </div> Thu, 22 Feb 2018 22:35:37 +0000