[unitrace] clarify installation artifacts and locations
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
- 20/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- linux, ubuntu
- Lĩnh vực
- build-system, release
Hướng nghiên cứu
The layout to change is the install tree in the issue: bin/summary/ (including schemas/), etc/unitrace/metrics/config/, lib/libunitrace_tool.so, and the bin/addrasm.py, analyzeperfmetrics.py and mergetrace.py scripts. Find where the install step places these files in the repository's build or packaging scripts. Done means the maintainers have answered the four questions and the agreed paths are applied, so this needs a maintainer decision before any code change.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
On:
Below are unitrace installation artifacts:
/opt/install/
|-- bin
| |-- addrasm.py
| |-- analyzeperfmetrics.py
| |-- mergetrace.py
| |-- summary
| | |-- categorize.py
| | |-- schemas
| | | |-- LLaMA.ini
| | | `-- LLaMA.json
| | `-- summary.py
| |-- unitrace
| `-- uniview.py
|-- etc
| `-- unitrace
| `-- metrics
| `-- config
| |-- bmg
| | |-- ComputeBasic.txt
| | `-- MemoryProfile.txt
| `-- pvc
| |-- ComputeBasic.txt
| |-- GpuOffload.txt
| |-- L1ProfileReads.txt
| |-- L1ProfileSlmBankConflicts.txt
| |-- L1ProfileWrites.txt
| `-- MemProfile.txt
`-- lib
`-- libunitrace_tool.so
11 directories, 18 files
I have concerns that above layout will be acceptable to package unitrace for Linux distribution packaging:
- Some stuff installed into
/usr/bin/have too wide names without clear affiliation to unitrace. These areaddrasm.py,analyzeperfmetrics.py,mergetrace.py. I would consider renaming them with some some kind ofuni*prefix. - What is the purpose of
libunitrace_tool.so? It does not have associated development environment (header files) and there seem to be only one actual executable -unitrace. So why the library needs to be dynamic? - Does user supposed to modify stuff landed in
/etc/unitrace/metrics/config/? If yes - these are indeed configuration files. If not - then these are unitrace internal stuff and should be moved to/usr/lib/unitrace/folder. /usr/bin/summary/*- this location is definitely not correct. This must be moved to/usr/lib/unitrace/
@androniychuk, do you have any other questions/comments for the above unitrace installation artifacts?
CC: @mschilling0
- Ngôn ngữ chính
- C++
- Star
- 276
- Fork
- 73
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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 intel/pti-gpu
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
-
[unitrace] Do not fetch for 3rd party projects 1) at build stage, 2) if they are already installedĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 45/100
Tất cả issue của intel/pti-gpu
Issue tương tự
-
bug
Độ 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
-
Mac mini M6 (16 GB): Q2_0 streaming works - measured 11.7->27.2 tok/s + arena fix for sub-32 GB MacsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
champion good first issue remake source/qq
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
metasequoiaime/msime-windows#1025 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
backlog bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
EchoTools/nevr-runtime#653 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`--fail-require-skip` never fires: run_tests.py searches stdout, but the unittest binary writes the skip summary to stderrCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày