Presented by:

Gary Lin

from SUSE

Gary Lin is a SUSE engineer and long time linux user. He participated openSUSE gnome development and mainly focuses on UEFI related issues now.

No video of the event yet, sorry!

eBPF was introduced into Linux kernel staring from 3.15 and provides the flexibility for the kernel programming. The kernel developers and the administrators can attach eBPF programs to a certain components in the kernel to help the data processing. For example, the root user can craft an eBPF program, attach it to kprobe to extract the information in the kernel, and profile the system in real-time.

In the beginning, the user has to write the eBPF program in assembly. Thanks to the LLVM developers, LLVM/CLANG already can generate eBPF bytecode. Nowadays, the user can just write eBPF programs in C. However, this raises another problem: how to debug the C code.

The kernel can only recognize eBPF bytecode. So, when the eBPF verifier rejects a program, it only shows the assembly code in question. If the user doesn't code in assembly, it may be difficult to identify why the program is rejected.

BPF Type Format (BTF) is proposed to solve the problem. BTF defines the format of the debug information, and an extra section will be created in the eBPF object file. The kernel therefore can match the C code and the bytecode to provide more useful information. This fills the gap between the user and the kernel, so that the user can debug their code easily.


2019 October 6 - 11:00
45 min
Ruang 203c (2nd floor)

Happening at the same time:

  1. Deploy Monitoring and Centralized Logging with Prometheus + Grafana and EFK Stack on Kubic k8s cluster
  2. Start Time:
    2019 October 6 11:00

    Ruang 202 (2nd floor)

  3. Auto-deployment of Ceph with Rook on Kubic
  4. Start Time:
    2019 October 6 11:00

    Ruang 203b (2nd floor)

  5. Geeko Magazine: A Technical Magazine on openSUSE, edited on openSUSE
  6. Start Time:
    2019 October 6 11:00

    Aula Suastika (4th floor)

  7. Having fun with openSUSE, Raspberries and HA cluster
  8. Start Time:
    2019 October 6 11:00

    Ruang 203a (2nd floor)

  9. Build your Image Using Kiwi, Customize what you want!
  10. Start Time:
    2019 October 6 11:00

    Ruang 201 (2nd floor)