Comments (11)
We'll tag this as a future enhancement to make sure we're tracking it.
from procdump-for-linux.
Hi - We statically build and link against the version of libbpf that we need during build. Is there a reason you need this to build against system installed libbpf? There is a myriad of different versions out there and we may not be able to build against them.
from procdump-for-linux.
Reason always in such cases is the same.
In case finding any new bug in exact library all what is needed is fixing and rebuilding package with that library without rebuilding anything which issues static linking.
Currently in our distro libbpf is used by
[tkloczko@pers-jacek SPECS]$ grep libbpf * -l | grep -v libbpf.spec
bcc.spec
bpftrace.spec
criu.spec
kernel-tools.spec
libabigail.spec
systemd.spec
v4l-utils.spec
So it make sense to have and use only shared libbpf.
from procdump-for-linux.
How do you handle version dependencies in your distro with potentially breaking changes? For example, if ProcDump requires version X and criu requires version Y (with breaking changes between the two). I can certainly provide the option of using system installed libbpf and check version at build time. If for some reason it's not available, fall back to static linking.
from procdump-for-linux.
Using pkgconfig handless all those cases.
from procdump-for-linux.
Meson, cmake, GNU autotools provides well designed interface with pkgconfig.
IMO you should consider start use one of those build frameworks instead maintaining custom set of Makefile files .. only because it is waste of time maintaining that.
from procdump-for-linux.
Related Issues (20)
- 1.4.1: build fails HOT 15
- 1.5: build fsails HOT 11
- Procdump crashes when TMPDIR is defined
- Tracing spews out garbage during IsCoreClrProcess: CoreCLR diagnostics socket:
- Log error when failing to connect to the .NET target process diagnostics pipe
- Add socket name and error to output when failure occurs during socket connect
- Generate a dump when a .NET gen collection starts and ends
- Generate a dump when the size of the generation exceeds threshold
- Generate a dump when each of the specified memory thresholds are exceeded
- Update existing memory triggers to be able to take a list of memory thresholds to dump on
- ProcDump crashes target process when monitoring for exceptions
- Publish packages to Azure Linux/Mariner repos HOT 1
- Add Azure Linux package HOT 1
- Two similar checks for same buffer using fgets
- strlen will be called in each iteration when calling GetUint16 function
- Remove the for loop from GetPath function as we're not using the index
- Duplicate threshold checks
- Support build on riscv64? HOT 8
- procdump support on mac os HOT 1
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 procdump-for-linux.