You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aya/xtask/public-api
Friday Ortiz 4545feec9a
aya,test,xtask: add breakpoint support to enforced perf_event config combo branch
* aya: enforce valid perf_event type & config combos

Add guardrails for when setting event type and config for perf_event
programs. The `PerfEventConfig` enum now defines the event `type` and
`config` of interest.

Remove public re-exports, and add idiomatic Rust types for:
- perf_hw_id => HardwareEvent
- perf_sw_ids => SoftwareEvent
- perf_hw_cache_id => HwCacheEvent
- perf_hw_cache_op_id => HwCacheOp
- perf_hw_cache_op_result_id => HwCacheResult

The motivation behind this is mainly for the `type` and `config` fields
of `bpf_link_info.perf_event.event`. The newly added enums are planned
to also be used in the `bpf_link_info` metadata.

Although `Breakpoint`/`PERF_TYPE_BREAKPOINT` variant exists, it is not
fully implemented. It's only usage at the moment is in link info.

* add breakpoint support to perf_event config interface

---------

Co-authored-by: Tyrone Wu <wudevelops@gmail.com>
4 weeks ago
..
aya-build.txt build(deps): update cargo_metadata requirement in the cargo-crates group 1 month ago
aya-ebpf-bindings.txt aya-obj,aya,ebpf,xtask: support perf_event hardware breakpoints 1 month ago
aya-ebpf-cty.txt chore: Bless public API changes 2 years ago
aya-ebpf-macros.txt lsm: cgroup attachment type support 1 month ago
aya-ebpf.txt aya-obj,aya,ebpf,xtask: support perf_event hardware breakpoints 1 month ago
aya-log-common.txt aya-log-common: seal Argument 2 months ago
aya-log-ebpf-macros.txt xtask: Add cargo-public-api 2 years ago
aya-log-ebpf.txt aya-log-ebpf: tidy up `macro_support` 4 months ago
aya-log-parser.txt public-api: regenerate 8 months ago
aya-log.txt implement load-time log level mask 2 months ago
aya-obj.txt aya-obj,aya,ebpf,xtask: support perf_event hardware breakpoints 1 month ago
aya.txt aya,test,xtask: add breakpoint support to enforced perf_event config combo branch 4 weeks ago