Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
funccount: Switch to BPF array instead of hash
Because we know the number of probes in advance before attaching them, we can simply preinitialize a fixed-size array instead of using a BPF map. This avoids potential deadlocks/hangs/race conditions with the Python program and internally in the kernel. See also iovisor#415, iovisor#665, iovisor#233 for more discussion.
- Loading branch information