Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Update RingBufs API - allow referring individual maps #318

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Apr 14, 2022

  1. Update RingBufs API - allow referring individual maps

    This commit introduces a change to the way RingBuf maps are handled.
    
    Previously, they were coalesced with PerfEventArray maps so if a user
    wanted to handle different maps in different async tasks, they needed
    to redirect events to e.g. mpsc queues to handle them separately.
    
    This change simplifies the API and implementation by allowing to refer
    to BPF maps individually through a corresponding key in a `HashMap`.
    
    Signed-off-by: Nikita Baksalyar <[email protected]>
    nbaksalyar committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    6979302 View commit details
    Browse the repository at this point in the history