Skip to content

RFC: Retire BCC PMDA #2458

@myllynen

Description

@myllynen

The BCC PMDA emerged and was added in late 2017 / early 2018 and back then it was a new way to collect custom kernel metrics with the eBPF technology that had emerged earlier. While BCC PMDA worked nicely to certain extent (compatibility with kernel internals would require almost constant attention), the BCC framework was succeeded by the more lightweight libbpf + CO-RE effort. The BPF PMDA was added a few years after BCC PMDA leveraging this more modern approach while still utilizing BCC PMDA's modular approach and configuration.

Since the two PMDAs are largely overlapping, switching from BCC PMDA to BPF PMDA should be relatively straightforward, and given that there's no active maintenance or development for the older BCC PMDA happening anymore I think it's best that we'll retire it.

At the code level this should be mostly fairly mechanical changes, remove the PMDA, the related QA, and the packaging parts. There are some bcc references in the pcpatop code but those are probably some fallbacks given the same file refers to bpf as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions