Skip to content

Fix names in eBPF scripts - #1624

Merged
wks merged 1 commit into
mmtk:masterfrom
wks:fix/ebpf-no-root-node
Oct 28, 2026
Merged

wks merged 1 commit into
mmtk:masterfrom
wks:fix/ebpf-no-root-node

Conversation

@wks

@wks wks commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

We renamed the eBPF trace point process_root_nodes to process_pinning_roots before, but didn't rename the eBPF scripts. This revision fixes that.

Considering that some VM bindings may not use harness_begin and harness_end, those trace points may not exist in the VM executable or library. We only set up those trace points when the -H command line option is added to capture.py.

We renamed the eBPF trace point `process_root_nodes` to
`process_pinning_roots` before, but didn't rename the eBPF scripts.
This revision fixes that.

Considering that some VM bindings may not use `harness_begin` and
`harness_end`, those trace points may not exist in the VM executable or
library.  We only set up those trace points when the `-H` command line
option is added to `capture.py`.
@wks
wks requested a review from qinsoon October 28, 2026 06:41

@qinsoon qinsoon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

We could consider adding a CI check for the eBPF scripts.

@wks
wks enabled auto-merge October 28, 2026 07:26
@wks
wks added this pull request to the merge queue Oct 28, 2026
Merged via the queue into mmtk:master with commit 137eed8 Oct 28, 2026
46 checks passed
@wks
wks deleted the fix/ebpf-no-root-node branch October 28, 2026 09:01
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.

2 participants