C, C#, C++

Featured image for SystemTap topics.
Article

Opening black boxes with statement tracing

Frank Eigler

Do you need a quick way to solve bugs in foreign library code? Learn how to use SystemTap for statement tracing and differential analysis in any library.

Featured image for Valgrind.
Article

Using Valgrind's --trace-flags option

Alexandra Petlanova Hajkova

Learn about Valgrind's undocumented --trace-flags option for debugging. The tutorial helps you add fused-multiply-add support for the AArch64 processor by Arm.

CPU sharing in Linux networking: Receive Side Scaling with eBPF and CPUMAP
Article

Receive Side Scaling (RSS) with eBPF and CPUMAP

Lorenzo Bianconi

Modern device drivers on servers need to exploit available CPUs to keep up with network traffic. Learn how using XDP and CPUMAP redirect boosts performance.

A code editor with four icons symbolizing DevOps, developers, a gear, and a cluster.
Article

Use multiple compilers to build better projects

Timm Baeder

Explore Clang compiler features like static analysis, sanitizers, and fuzz testing, and learn how building with multiple compilers benefits your projects.

Featured image for: Instant replay: Debugging C and C++ programs with rr.
Article

How to debug C and C++ programs with rr

William Cohen

Learn how you can go back in time and replay what went wrong in a C/C++ program with rr (a GNU Debugger Linux enhancement) in this short demo.

New features in OpenMP
Article

New features in OpenMP 5.0 and 5.1

Jakub Jelínek

Get an overview of the C/C++ performance and usability enhancements in OpenMP 5.0 and 5.1, including features now integrated in GCC 11.

CPU sharing in Linux networking: Receive Side Scaling with eBPF and CPUMAP
Article

Get started with XDP

Hangbin Liu

Learn how to write an XDP program on RHEL 8.3 for counting dropped packets, which involves adding a BPF map, and writing a custom loader.