Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,13 @@ Behavior:
- `--all --force` removes all `pid-starttime` directories, including live ones.
- Legacy numeric directories are ignored.

### Native DWARF Indexes

When the ELF file containing DWARF also contains `.debug_names` or
`.gdb_index`, GhostScope uses that native index to select compilation units for
on-demand parsing. Otherwise, it performs its normal full DWARF scan. An
unusable index is reported in CLI/TUI startup status before falling back.

### Complete Command Reference

| Option | Short | Description | Default |
Expand Down
6 changes: 6 additions & 0 deletions docs/zh/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,12 @@ ghostscope bpffs prune --dry-run --json
- `--all --force` 会删除所有 `pid-starttime` 目录,包括活实例。
- legacy 的纯数字目录会被忽略。

### 原生 DWARF 索引

当包含 DWARF 的 ELF 文件同时带有 `.debug_names` 或 `.gdb_index` 时,
GhostScope 会使用该原生索引选择 CU,并按需调用 fast parser。否则执行原有
的完整 DWARF 扫描。索引不可用时,CLI/TUI 启动状态会显示回退原因。

### 完整命令参考

| 选项 | 简写 | 说明 | 默认值 |
Expand Down
Loading
Loading