Comments (6)
What is your use case? If it is indeed necessary in your case, you can extend BPF_TABLE_SHARED with additional parameters similar to BPF_TABLE_PINNED.
from bcc.
I encountered this issue when trying to add an lpm_trie bpf shared table. Although I have implemented this function in a similar way as you described, my question is, since implementing this function is not difficult, why not add a specialized macro instead of having a fixed flag?
from bcc.
I would like to reuse the same macro name instead of adding a new macro. This has been the convention for bcc for a while.
from bcc.
As you mentioned, since there is a preference for using repetitive Macros, why not provide the flag as a parameter in the BPF_TABLE_SHARED macro? This is one of the points I'm curious about as well.
from bcc.
could you submit a pull request for that?
from bcc.
Have submitted:#5053
from bcc.
Related Issues (20)
- `bcc_procutils_which_so(libname, pid)` finds library unused by the process
- BCC source setup make error on Debian Bookworm HOT 3
- attach to specific address of user space spplication in c
- Using funclatency.py to trace bpf_map_lookup_elem HOT 1
- Use `-Werror=undef` when compiling bcc to catch issues when a macro is not defined. HOT 1
- fatal error: clang/Basic/FileManager.h: No such file or directory
- fatal error: -Werror=sign-compare with lastest libbpf-tools
- BPF.ring_buffer_poll(timeout=T) documentation ambigious HOT 2
- btf:the system lacks the BTF information of the KVM kernel module
- BPF_TABLE_SHARED do not support edit flags for the BPF_TABLE_T behind it
- Unable to locate package linux-headers on Ubuntu 24.04 WSL HOT 3
- execsnoop output out of order HOT 1
- The user stack name could not be resolved successfully
- how to get vfs_rename old_dentry?
- libbpf-tools/sigsnoop : reporting signal number '17' for all signal sent by kill utility. HOT 4
- PT_REGS_PARM1 return value is not "this" pointer when uprobing C++ class function
- Reducing `libbcc.so` Size After Cross-Compiling BCC with Yocto for Embedded Devices
- Can't get hello_world.py work on CentOS 8.2.2004 (Core) HOT 1
- eBPF verifier "invalid access to packet offset is outside" - clang optimizer bug? HOT 2
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 bcc.