Skip to content

feat: -p dlopen support#229

Merged
swananan merged 3 commits into
mainfrom
feature/p-dlopen-support
Jun 14, 2026
Merged

feat: -p dlopen support#229
swananan merged 3 commits into
mainfrom
feature/p-dlopen-support

Conversation

@swananan

Copy link
Copy Markdown
Owner

No description provided.

swananan added 3 commits June 14, 2026 14:13
Use an internal sysmon event mask so PID mode subscribes only to map-change
events for the watched process, then refresh proc maps and incrementally load
newly mapped DWARF modules before script compilation.
Add a dlopen-driven backtrace fixture that loads a shared object only
after GhostScope is attached in -p mode. The test verifies rendered
stacks resolve a frame from the newly mapped library.

Refresh PID runtime modules before CLI/TUI backtrace rendering when
sysmon reports map changes. Configure sysmon map-change filtering with
the same PID namespace strategy used by the main -p trace, so private
PID namespace targets do not drop dlopen mmap events before userspace
can refresh proc maps.
@swananan swananan force-pushed the feature/p-dlopen-support branch from 93820ef to 4f9ef90 Compare June 14, 2026 16:01
@swananan swananan merged commit abb46cf into main Jun 14, 2026
10 checks passed
@swananan swananan deleted the feature/p-dlopen-support branch June 14, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant