Skip to content

Conversation

Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Feb 10, 2025

Motivation:

When debugging allocations it is frequently helpful to be able to use bpftrace instead of the more limited heaptrack.

Modifications:

Offer an equivalent of malloc-aggregation.d for bpftrace.

Result:

Allocation recording on Linux is available.

@Lukasa Lukasa added the semver/none No version bump required. label Feb 10, 2025
Copy link
Contributor

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

Nice!

Copy link
Contributor

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

Looks like you need to add dev/malloc-aggregation.bt to: https://github.com/apple/swift-nio/blob/main/.licenseignore

Lukasa added 3 commits July 11, 2025 12:33
Motivation:

When debugging allocations it is frequently helpful to be
able to use bpftrace instead of the more limited heaptrack.

Modifications:

Offer an equivalent of malloc-aggregation.d for bpftrace.

Result:

Allocation recording on Linux is available.
@Lukasa Lukasa force-pushed the cb-add-bpftrace branch from b41af74 to 17cf5e6 Compare July 11, 2025 11:34
@Lukasa
Copy link
Contributor Author

Lukasa commented Jul 11, 2025

Done.

@glbrntt glbrntt enabled auto-merge (squash) July 11, 2025 11:54
@glbrntt glbrntt merged commit 99ac8ec into apple:main Jul 11, 2025
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants