Comments (2)
Yes, thanks for reporting. It's a known libbpf problem (BCC has the same problem as well). I'm going to post a fix for this in next few days. The idea is that we still need to allocate buffers per each of possible CPU, because that's what kernel expects and how kernel operates. But we should be attaching those buffers only for CPUs that are online.
from libbpf.
Fixed a while ago in b85e83f, closing.
from libbpf.
Related Issues (20)
- when use bpf hook tracepoint/sched/sched_switch , the cpu is hang HOT 4
- error: unknown type name ‘GElf_Nhdr’; did you mean ‘GElf_Shdr’? HOT 9
- libbpf build error, fatal error: linux/bpf_perf_event.h: No such file or directory HOT 1
- sched_switch, sched_wakeup, ipi_entry ipi_exit when hook this points, after running for a while. the system is hang ,is kernel bug ? HOT 2
- I want to access the parameter values of kprobe or uprobe ,not have BTF,use vmlinux+offset HOT 1
- python interface to libbpf - does it make sense? HOT 8
- libbpf: prog 'xdp_parser_func': failed to load: -13 libbpf: failed to load object 'xdp_prog_kern.o' HOT 2
- bpf cookie consult HOT 2
- [CO-RE] relocations are not emitted for tracepoint 'context' argument. HOT 5
- libbpf: usdt: unrecognized register 'v0' on aarch64 HOT 3
- Stack smash detected when ring buffer is created HOT 2
- OSS-Fuzz issue 68389 HOT 1
- OSS-Fuzz issue 68390 HOT 1
- Stack Buffer Overflow in `bpf_object__open_skeleton` HOT 4
- cross compile ebpf programs
- libbpf keeps unsetting O_CLOEXEC on its own fds HOT 1
- libbpf:xdp prog detach HOT 4
- BPF_MAP_TYPE_ARRAY_OF_MAPS inner map inconsistencies HOT 7
- geting rid of fmemopen HOT 1
- error: ISO C++ forbids forward references to 'enum' types(bpf_link_type ) HOT 3
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 libbpf.