Skip to content

Conversation

@gnurizen
Copy link
Collaborator

No description provided.

multi-attach support but it seems to work fine even without it. this
is verified with better kernel version testing.

Separate bpf_get_attach cookie and use multi-probe features.  cookies
can in 5.15 and multi came 6.6.

Use HASH for usdt spec map instead of ARRAY.  ARRAY entires can't be
deleted and map fills up over time.
@gnurizen gnurizen marked this pull request as draft December 12, 2025 19:06
@gnurizen gnurizen changed the title Fix QEMU distro tests. This gets arm64 running and tests things on more amd64 kernels. Fix QEMU distro tests, switch to hash spec_id map and remove pid based attachment Dec 12, 2025
@gnurizen gnurizen requested a review from umanwizard December 12, 2025 19:08
@gnurizen gnurizen marked this pull request as ready for review December 12, 2025 19:09
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()

// Start the tracer with all tracers enabled
Copy link
Collaborator

Choose a reason for hiding this comment

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

this comment needs to be updated

Comment on lines +105 to +107
else
CGO_ENABLED=1 GOARCH=${GOARCH} go test -c ../../interpreter/rtld ../../support/usdt/test
fi
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you check if the arch is x86 here and fail otherwise? I want to limit introducing new cases where we assume the only arches in the world are arm and x86 (because that will make it easier to support riscv in the future)

@gnurizen gnurizen merged commit e425f7f into main Dec 15, 2025
40 of 44 checks passed
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.

3 participants