Comments (2)
Thanks for the report! I have it locally reproduced.
When we parse the offsets from ELF we divide the instruction offset of the line info to go from a byte offset to an instruction offset here
However, when we use the same logic to parse from the kernel we should do the reverse. Same goes for the parse functions of funcInfo and CORERelo as well
from ebpf.
cc @dylandreimerink can you take a look?
from ebpf.
Related Issues (20)
- example xdp: The IP address output by xdp demo is empty HOT 5
- internal: use runtime.Pinner instead of runtime.KeepAlive (Go 1.21) HOT 3
- asm: add support for ISA v4 HOT 6
- internal: replace Memoize with sync.OnceValues (Go 1.21) HOT 1
- kconfig: validate that PutInteger doesn't truncate data HOT 7
- btf: support CO-RE relocation of ISAv4 instructions HOT 2
- internal: doesn't compile with golang.org/x/sys v0.14.0 HOT 2
- btf: move wire type definitions into sys HOT 2
- migrate tests to github.com/go-quicktest/qt
- sysenc: dealing with `[]struct{ ... }` forces allocations
- CI: store merged coverage as an artifact HOT 6
- CI: automatically build kernels
- After loading the ebpf program, the memory occupies 100MB and has not been released HOT 7
- map: move semantics for under sized per-CPU slices out of common per CPU marshaling code HOT 1
- map: revisit batch per-CPU API HOT 1
- When creating a large perf map, a null pointer error is encountered
- clang version >=12 will automatically add the -target bpfeb HOT 2
- Add BatchLookup support for a pointer to a slice HOT 8
- Missing support for iterating over per-CPU maps 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 ebpf.