unable to load a profiler thru the raw profiler hook on linux
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
- 28/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cpp, linux
- Lĩnh vực
- devtools, operating-systems
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện thiết lập tiến trình ASP.NET với MicrosoftInstrumentationEngine_RawProfilerHookPath_64 và profiler New Relic được cung cấp, sau đó kiểm tra môi trường của tiến trình Linux, đầu ra smaps và các log của instrumentation engine. Công việc được xem là hoàn tất khi xác định được raw profiler hook có được hỗ trợ trên Linux hay không và ghi lại hoặc sửa hành vi tải.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Consider this aspnet website
$ ps -eaf | grep dotnet
snikolov 6754 21 1 21:25 tty2 00:00:06 dotnet Some.Core.TestSite.dll
Now let's look at env variables
$ cat /proc/6754/environ | tr '\0' '\n' | grep -i microsoft
MicrosoftInstrumentationEngine_LogLevel=None
MicrosoftInstrumentationEngine_RawProfilerHookPath_64=/mnt/c/tmp/newrelic-netcore20-agent/libNewRelicProfiler.so
MicrosoftInstrumentationEngine_RawProfilerHook={36032161-FFC0-4B61-B559-F6C5D41BAE5A}
MicrosoftInstrumentationEngine_ConfigPath64_mainprofiler=/mnt/c/tmp/somesite/2.1/Release/MainProfiler_dotnet.config
MicrosoftInstrumentationEngine_DisableCodeSignatureValidation=1
The MainProfiler loads fine and does its job as expected, no issues there.
Does the New Relic Profiler exist? Sure it does
$ ls -l /mnt/c/tmp/newrelic-netcore20-agent/libNewRelicProfiler.so
-rwxrwxrwx 1 snikolov snikolov 13979573 Sep 17 13:21 /mnt/c/tmp/newrelic-netcore20-agent/libNewRelicProfiler.so
There is nothing weird in the NewRelic profiler 8.32 such as unsatisifed shared lib dependencies, as you can see for yourself with the ldd command.
Now let's find the NewRelic profiler
$ cat /proc/6754/smaps | grep -i relic
Not there, never got loaded.
No errors about it if I set LogLevel to Errors.
Seems like on linux the raw profiler hook is not supported?
I hope the explanation is a user error. Is this a known issue?
- Ngôn ngữ chính
- C++
- Star
- 104
- Fork
- 53
- Merge trung bình
- 3 giờ 34 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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 microsoft/CLRInstrumentationEngine
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
microsoft/CLRInstrumentationEngine#169 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
microsoft/CLRInstrumentationEngine#526 · 1 reaction ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Tất cả issue của microsoft/CLRInstrumentationEngine
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
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 62/100
rr-debugger/rr#4111 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Multithreaded MolStandardize *InPlace functions hang with numThreads=0 and race with negative numThreadsCó thể đã có người làm @Ardx19 đã nhận hôm nay. Đang mởbug
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug] - Out-of-bounds shared-memory write in cutlass linear kernel (official qwen3 demo crashes)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
mirage-project/mirage#794 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
WiFiMulti::addAP rejects valid 32-byte SSIDsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởStatus: Awaiting triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
espressif/arduino-esp32#12984 ·
Maintainer thường phản hồi trong vòng 1 ngày