Open tyrone-wu opened 2 months ago
Built without sensitive environment variables
Name | Link |
---|---|
Latest commit | c5be26776b5649707fd24b99bd82a1b9c8b77260 |
Latest deploy log | https://app.netlify.com/sites/aya-rs-docs/deploys/6713c1cfe7ccf900088ef0a0 |
Deploy Preview | https://deploy-preview-1038--aya-rs-docs.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Hey @alessandrod, this pull request changes the Aya Public API and requires your review.
@tyrone-wu, this pull request is now in conflict and requires a rebase.
@tyrone-wu, this pull request is now in conflict and requires a rebase.
Add guardrails for when setting event
type
andconfig
for perf_event program. The addedPerfEventConfig
enum now defines the eventtype
andconfig
of interest.Idiomatic Rust types are added 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
andconfig
fields ofbpf_link_info.perf_event.event
(in a separate branch). I plan to use these newly added enumsbpf_link_info
metadata. https://elixir.bootlin.com/linux/v6.10/source/include/uapi/linux/bpf.h#L6714One thing to note is that although
Breakpoint
/PERF_TYPE_BREAKPOINT
variant exists, it is not fully implemented at the moment (due to some additional fields need inperf_event_attr
likebp_type
, etc.). It's only usage currently will be in retrieving link info.I have it named as
PerfEventConfig
as the moment. I'm not too sure on the naming tho. :/This change isβ