Comments (4)
try to remove let pid = ctx.pid();
and check if the problem persists.
I have a problem with pid() but inside tccontext
from aya.
try to remove
let pid = ctx.pid();
and check if the problem persists. I have a problem with pid() but inside tccontext
Thanks for reply.
I just tried remove let pid = ctx.pid()
and still have the problem.
from aya.
I guess problem is on ebpf program compilation, maybe a compatibility issue. Because after I changed the kernel version to 5.14.0-148.el9.x86_64
and it can run normally. (PS: Original kernel version is 5.4.143
).
There is another problem I have found on kernel 3.10.0-1160.102.1.e17.x86_64
, error msg "error relocating function"
, but when I use SystemTap
to do the same task and it passed. Just report it. Similar issue: here.
from aya.
There is another problem I have found on kernel 3.10.0-1160.102.1.e17.x86_64, error msg "error relocating function", but when I use SystemTap to do the same task and it passed. Just report it. Similar issue: #831.
Ok, as far as I know ebpf is avalaible from kernel v4.1 and fully avalaible on from kernel v4.4
https://docs.lacework.net/onboarding/ebpf-support
https://www.kernel.org/doc/html/latest/bpf/index.html
https://www.tigera.io/learn/guides/ebpf/
from aya.
Related Issues (20)
- Instructions on codegen HOT 1
- Add TCX link support
- Error: error relocating function
- Inside `aya-ebpf::programs` some `raw` pointers are having `pub` visibility.
- Bug on system suspend HOT 3
- error: failed to create `BPF_MAP_TYPE_ARRAY_OF_MAPS` of `BPF_MAP_TYPE_RINGBUF` HOT 2
- How about supporting for searching the symbols file from the gnu.debuglink section? HOT 1
- Discord links are expired or no longer valid HOT 1
- LLVM rust nightly file too short HOT 2
- Failed to exec `bpftools prog load`
- How can implement a function like __sync_fetch_and_add of C in Aya? HOT 2
- feature: More public APIs for `XdpContext` to grow/shrink packets
- Issue with Ingress Packets Not Reflecting Changes HOT 1
- Build error on OS FreeBSD HOT 3
- aya: bloom_filter: contains is not working
- How to Detect Support for Ringbuf in Rust eBPF Code? HOT 1
- [aya-ebpf-macros] No longer able to set name with `#[xdp(name = "..")]` HOT 1
- Add support for the powerpc64le arch in aya-ebpf-bindings
- feature request: impl IpFormatter for core::net::IpAddr
- Add support for sched_ext program types
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aya.