Tyrone Wu

Results 13 issues of Tyrone Wu

Please ensure your pull request adheres to the following guidelines: - [x] For first time contributors, read [Submitting a pull request](https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#submitting-a-pull-request) - [ ] All code is covered by unit...

stale
release-note/misc
kind/community-contribution

I have a usecase that extracts program type information from from `bpf_prog_info`. 😺 This PR adds conversion from `u32` to `bpf_prog_type` so that the `type_` field in `bpf_prog_info` can map...

test
aya
api/needs-review
aya-obj

Checklist: - [x] Expose the `run_time_ns` & `run_cnt` fields in `ProgramInfo`. - [x] Add util function for enabling eBPF runtime stats through the `BPF_ENABLE_STATS` syscall command that returns a file...

test
aya
api/needs-review
aya-obj

**Note: All credits for the PR, from the initial idea, implementation, and testing, belong to @amunra who is the original author of this PR and #154.** From the original PR...

Hello! 👋 I have a usecase that can be split into 2 separate issues (let me know and I can split it 👍), but I'll have them here for now...

Hello! 👋 I'm implementing a Telegraf plugin that extracts metadata information from the `bpf_prog_info` object. There's some additional fields that I'd like to include in the metric, that aren't exposed...

This adds support for the field availability in `ProgramInfo` and `MapInfo`. Srry this is long, let me know and I can try to TL;DR it. For `ProgramInfo`: - Have `program_type()`...

test
aya
api/needs-review
aya-obj
aya-log

Add API for detecting whether kernel supports program type and map type. Also add `const fn bpf_insn::new(...)` so that common bpf instructions are not re-computed every time from `copy_instructions()`. Assertions...

test
aya
api/needs-review
aya-obj

Add guardrails for when setting event `type` and `config` for perf_event program. The added `PerfEventConfig` enum now defines the event `type` and `config` of interest. Idiomatic Rust types are added...

test
aya
api/needs-review
needs-rebase

Add an optional `--part` flag that accepts values `1` or `2` in the `read` subcommand for displaying/reading the specified part of the puzzle. If the flag is not specified, this...