11–13 Dec 2025
Asia/Tokyo timezone

BPF Based Telemetry, Metrics, and Accounting on Android

Not scheduled
20m
Android MC Android MC

Speakers

Isaac Manjarres (Google) T.J. Mercier (Google - Android Kernel Team)

Description

Android currently collects telemetry data from devices in the field. While these metrics are important and can indicate overall system health issues, they are often lacking enough low-level system information that is necessary for finding root causes.

Android has been striving to improve BPF support to enable developers to extend the Linux kernel by creating BPF programs. This development is particularly beneficial in the kernel diagnostics and telemetry domains.

This talk focuses on how BPF programs can be used as lightweight tools to collect more detailed telemetry about the kernel on Android. It also covers the use of BPF as a cheaper replacement for existing dma-buf accounting (CONFIG_DMABUF_SYSFS_STATS) and wakeup source statistics (/sys/kernel/debug/wakeup_sources).

Primary authors

Isaac Manjarres (Google) T.J. Mercier (Google - Android Kernel Team)

Presentation materials

There are no materials yet.