Varun R Mallya
varunrmallya.bsky.social
Varun R Mallya
@varunrmallya.bsky.social
I write a lot of C and eBPF. I also co-created PythonBPF. Find my blogs at https://xeon.me
Reposted by Varun R Mallya
Me and @varunrmallya.bsky.social will be at the Linux Plumbers Conference next week to present Python-BPF: lpc.events/event/19/con...
Linux Plumbers Conference 2025
The Linux Plumbers Conference (LPC) is a developer conference for the open source community. The LPC brings together the top developers working on the plumbing of Linux - kernel subsys...
lpc.events
December 2, 2025 at 8:51 AM
devpost.com
December 1, 2025 at 8:47 AM
pypi.org/project/pyth...
Just released PythonBPF v0.1.7
We now support a lot more helpers and pretty extensive support for a lot of vmlinux structs.
Client Challenge
pypi.org
November 22, 2025 at 8:30 AM
Reposted by Varun R Mallya
Just added typed scratch pool support for non-named arguments to helper functions in PythonBPF. Prior to this we only supported a scratch pool of i64 args.
I must also add a dedicated type conversion module later, having it all over the place is bad.

Part of this PR: github.com/pythonbpf/Py...
All support for all eBPF helpers by r41k0u · Pull Request #64 · pythonbpf/Python-BPF
This takes over from #63 to add support for all available eBPF helpers.
github.com
November 4, 2025 at 10:43 AM
Reposted by Varun R Mallya
Got the first skb helper into PythonBPF - bpf_skb_store_bytes. Adding others would be easier now.
github.com/pythonbpf/Py...
All support for all eBPF helpers by r41k0u · Pull Request #64 · pythonbpf/Python-BPF
This takes over from #63 to add support for all available eBPF helpers.
github.com
November 5, 2025 at 2:41 PM
Reposted by Varun R Mallya
Added basic RingBuffer helpers to Python-BPF, specifically the output, reserve and submit helpers.
TODO: implement discard helper, add typecasting to struct for array returned by reserve, add userspace support in pylibbpf

github.com/pythonbpf/Py...

But we'll do stacktrace example first.
Add support for userspace+kernelspace stack trace example using blazesym by r41k0u · Pull Request #69 · pythonbpf/Python-BPF
github.com
November 12, 2025 at 9:01 AM
Reposted by Varun R Mallya
Added the ability to use user defined types (structs) to be used for key or value types in HashMaps in PythonBPF. Better late than never
November 18, 2025 at 6:48 PM
github.com/pythonbpf/Py...
cool milestone reached. You can now cast to a vmlinux struct in PythonBPF as well as use the fields of that struct! (Although it's limited to integers of all types, for now)
github.com
November 21, 2025 at 8:23 PM
satindra-r.github.io/ImageEncrypt...
cool stuff a junior of mine tried to make
Home
satindra-r.github.io
November 5, 2025 at 1:41 PM
Why does Google Gemini not render Latex. Such an annoyance.
November 3, 2025 at 1:51 PM