Add elf type and load segment information to mapping
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- go
- Lĩnh vực
- performance
Hướng nghiên cứu
Bắt đầu bằng cách đọc logic chuẩn hóa được liên kết trong internal/elfexec/elfexec.go và internal/binutils/binutils.go, sau đó theo dõi cách các trường mapping được biểu diễn trong định dạng pprof. Issue mô tả việc thêm kiểu ELF, offset của load-segment và địa chỉ ảo cho mỗi mapping; phần hoàn thành cần bao gồm các giá trị này trong các profile và duy trì việc symbolization chính xác cho các tệp thực thi độc lập vị trí.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What version of pprof are you using?
This is about pprof as a format, not the toolchain.
What operating system and processor architecture are you using?
Linux amd64 and arm64
What did you do?
We operate a profiling service and among other things, we allow users to send profiling data in pprof format to our service.
The service can perform asynchronous symbolization, where the production binary doesn't have to contain symbols, and the server side will perform symbolization at some undefined point in time. The time at which the receiving side receives debuginfo is also not defined. Debuginfo may not contain the .text section, but only DWARF sections for symbolization purposes.
The problem is, same as the pprof toolchain getting the Base for "normalization" purposes we need the same information, but pprof provides no fields to set this. The convenient thing about having it in the format is that by definition wherever the profiling data is recorded, the .text section must be present, as it's required for the execution of the binary.
Without this information asynchronous symbolization is going to be incorrect, which is especially common for position-independent executables.
What did you expect to see?
Fields to communicate elf type, load segment offset, and vaddr to the toolchain per mapping.
What did you see instead?
Symbolization errors with position-independent executables because the debuginfo doesn't have the .text section, and the pprof profile can't communicate it to the toolchain either.
- Ngôn ngữ chính
- Go
- Star
- 9.3k
- Fork
- 686
- Merge trung bình
- 4 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 14
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của google/pprof
-
profile: FilterSamplesByName allocates a temporary Location slice per sample unnecessarilyCó thể đã có người làm @kyyril đã nhận 13 ngày trước. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
google/pprof#1029 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 74/100
google/pprof#1020 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
pprof cannot locate source code for the list command in common Go setupsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
google/pprof#1009 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Label with zero int64 value and no unit get dropped during decodingCó thể đã có người làm @ms-hujia đã nhận 143 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
google/pprof#1002 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
[Bug] K8s reconcile still resets explicit 0 to defaults for response_api, memory and flow stateCó thể đã có người làm @Bevisy đã nhận hôm nay. Đang mởneeds-acceptance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
vllm-project/semantic-router#5998 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
devantler-tech/ksail#8256 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
desktop v3 windows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
esengine/DeepSeek-Reasonix#15016 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày