Comments (3)
@Deputation - I believe the correct behavior would be to iterate through the table entries once and return None.
I'd suggest taking a look at libbpf-rs instead of this crate though.
from rust-bcc.
Yeah, it's just a shame as I was using BCC for my older projects and I wanted the C code to stay the same.
I'll do some work to keep comfortable table lookups, updates etc. in C working without having to use bcc.
I promise to publish it for the good of the community if able :).
from rust-bcc.
I'd happily accept a PR that fixes this and publish a new version of the crate. But I've migrated to libbpf-rs so there's not much active focus on these crates right now.
from rust-bcc.
Related Issues (20)
- Iterating over an empty table returns an empty entry. HOT 1
- add support for bcc 0.16.0 HOT 1
- deprecate `init_perf_map()`
- release 0.0.27 HOT 1
- BPF ring buffer support HOT 20
- Release for bcc 0.17.0 Support HOT 4
- Segfault for examples when running in docker apline:3.12 image HOT 6
- USDT probe support
- ptr::read on possible misaligned ptr HOT 1
- support for armhf (32 bit) HOT 1
- Can't probe netif_receive_skb HOT 3
- how about using template for replacing code in c file? HOT 3
- IP reads in reverse order in some examples HOT 2
- `Table::new()` should be private or unsafe HOT 1
- unresolved imports `bcc::trace_parse`, `bcc::trace_read` no `trace_parse` in the root HOT 1
- support bcc 0.12.0 HOT 1
- Would it be okay to submit a partial implementation of tcpconnect.py ? HOT 8
- Support for pre-compiled .elf BPF binaries? HOT 3
- Possibility to support `get_syscall_fnname` 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 rust-bcc.