Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API to create maps at runtime #935

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Apr 21, 2024

  1. aya-obj: rename BtfMapDef to MapDef

    This is in preparation of unifying map defs
    alessandrod committed Apr 21, 2024
    Configuration menu
    Copy the full SHA
    e723c84 View commit details
    Browse the repository at this point in the history
  2. maps: make LegacyMap hold MapDef

    Now both BtfMap and LegacyMap hold MapDef
    alessandrod committed Apr 21, 2024
    Configuration menu
    Copy the full SHA
    ba5bf6f View commit details
    Browse the repository at this point in the history
  3. aya, aya-obj: split out the ELF bits from MapData

    Maps can be created at runtime, in which case they don't have any ELF
    info. Split the ELF bits into ElfMapData.
    
    This is in preparation of adding MapData::create() to create maps at
    runtime.
    alessandrod committed Apr 21, 2024
    Configuration menu
    Copy the full SHA
    6eb38cf View commit details
    Browse the repository at this point in the history