Closed ScriptSathi closed 2 months ago
You should use bpftime load
to start bpftrace, not bpftime start
But then it goes to this issue...
Has this issue been solved now? If so, please close this issue @ScriptSathi
Well not really ... I still can't use bpftime properly with bpftrace
Should I reopen the other one ?
Well not really ... I still can't use bpftime properly with bpftrace
Should I reopen the other one ?
Just open a new issue if you have any other problems
Describe the bug
When using bpftrace with bpftime I got the below error
To Reproduce
Use Ubuntu Dockerfile, build the image and then run it with
then install bpftrace (no need to have the latest)
Then run the test
Expected behavior
No error happen
Additional context
I think the error come from this line https://github.com/eunomia-bpf/bpftime/blob/master/runtime/src/bpftime_shm_internal.cpp#L547
But I use the default shared memory name https://github.com/eunomia-bpf/bpftime/blob/master/runtime/src/handler/handler_manager.hpp#L52
I probably have a wrong understanding of the origin, though ...