[unitrace] clarify installation artifacts and locations
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 20/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- linux, ubuntu
- 領域
- build-system, release
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- C++
- スター
- 278
- フォーク
- 74
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
intel/pti-gpu のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
-
[unitrace] Do not fetch for 3rd party projects 1) at build stage, 2) if they are already installedオープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
pocoproject/poco#5636 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
microsoft/cppwinrt#1646 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
[BUG] Segfault when all runs of a Complexity() benchmark are skipped対応中かも @nitanshnagpal が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 81/100