| Crates.io | ghostscope-compiler |
| lib.rs | ghostscope-compiler |
| version | 0.1.1 |
| created_at | 2025-11-08 15:09:17.815601+00 |
| updated_at | 2025-11-08 15:09:17.815601+00 |
| description | Compiles GhostScope trace definitions into DWARF-aware eBPF programs ready for injection. |
| homepage | https://github.com/swananan/ghostscope |
| repository | https://github.com/swananan/ghostscope |
| max_upload_size | |
| id | 1922971 |
| size | 798,748 |
ghostscope-compiler turns GhostScope trace definitions into DWARF-aware eBPF programs. It parses the DSL, performs DWARF resolution, and emits IR that targets LLVM's BPF backend.
llvm-config available on PATH (or set LLVM_CONFIG_PATH)inkwell crate's llvm18-1 feature expects a shared build; consult your package manager or build from source with -DLLVM_ENABLE_PROJECTS=clang;lldIf LLVM lives in a non-standard directory, export LLVM_SYS_180_PREFIX or LLVM_CONFIG_PATH before invoking Cargo. The top-level documentation explains the full workflow: https://github.com/swananan/ghostscope#readme.