Skip to content

fix: enable sysmon for target mode#198

Merged
swananan merged 1 commit into
mainfrom
fix/enable-sysmon-for-target-mode
May 19, 2026
Merged

fix: enable sysmon for target mode#198
swananan merged 1 commit into
mainfrom
fix/enable-sysmon-for-target-mode

Conversation

@swananan
Copy link
Copy Markdown
Owner

Standalone -t needs lifecycle tracking so target module offsets stay available for processes that start after GhostScope. Enabling sysmon by default favors correct target-mode tracing for executable and shared-library targets.

The tradeoff is extra system-wide sched tracepoint work on hosts with high process churn. The new enable_sysmon_for_target config keeps an explicit opt-out, and -t -p still avoids sysmon because the PID supplies concrete mappings.

Retiring the old shared-library config name avoids an ambiguous setting whose scope no longer matches the behavior.

Standalone -t needs lifecycle tracking so target module offsets stay
available for processes that start after GhostScope. Enabling sysmon by
default favors correct target-mode tracing for executable and
shared-library targets.

The tradeoff is extra system-wide sched tracepoint work on hosts with
high process churn. The new enable_sysmon_for_target config keeps an
explicit opt-out, and -t -p still avoids sysmon because the PID
supplies concrete mappings.

Retiring the old shared-library config name avoids an ambiguous setting
whose scope no longer matches the behavior.
@swananan swananan merged commit 2e21ae8 into main May 19, 2026
9 checks passed
@swananan swananan deleted the fix/enable-sysmon-for-target-mode branch May 19, 2026 12:50
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