Skip to content

Conversation

@gnurizen
Copy link
Collaborator

@gnurizen gnurizen commented Feb 3, 2025

No description provided.

@gnurizen gnurizen force-pushed the cus-lab-exp branch 3 times, most recently from fc66810 to cb72e77 Compare February 3, 2025 22:43
@gnurizen gnurizen changed the title attempt to get custom labels working with clang-17 Update custom labels code for merge Feb 3, 2025
@gnurizen gnurizen force-pushed the cus-lab-exp branch 4 times, most recently from b538aa3 to 2cf00bd Compare February 5, 2025 17:04
@gnurizen gnurizen changed the title Update custom labels code for merge Make custom labels support 4.19 Feb 11, 2025
@gnurizen gnurizen force-pushed the cus-lab-exp branch 6 times, most recently from 67b57f7 to f713453 Compare February 13, 2025 22:49
@gnurizen gnurizen marked this pull request as ready for review February 13, 2025 23:01
@gnurizen gnurizen requested a review from umanwizard February 13, 2025 23:11
@gnurizen gnurizen force-pushed the cus-lab-exp branch 2 times, most recently from ac9d6d8 to 2a4ad41 Compare February 19, 2025 19:40
Copy link
Collaborator

@umanwizard umanwizard left a comment

Choose a reason for hiding this comment

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

LGTM, and super cool that we were able to get rid of that opaquify crap and dodgy inline asm.

Comment on lines 2 to 3
// the tracers, as well as a dispatcher program that can be attached to a
// perf event and will call the appropriate tracer for a given process
Copy link
Collaborator

Choose a reason for hiding this comment

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

Erroneously copy/pasted comment?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, I need to fix the copy right too

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Well I guess none of the unwinders have copyright headers so I just fixed the comment.

@gnurizen gnurizen force-pushed the cus-lab-exp branch 4 times, most recently from 28b4a55 to cec3850 Compare February 24, 2025 18:28
Put go label collection in a separate unwinder routine and tail call it.

Native unwinder and other custom labels code stays in unwind_stop.

Hand unroll loops and great simplify the hash function.

Reduce number of custom labels from 16 to 14.

Remove opaquify.h, fix verifier errors by moving code around.

Add a simple integration test for custom labels that runs against all
kernels.

Refactor test code to put shared code in a helper package.
@gnurizen gnurizen merged commit 17cc279 into main Feb 24, 2025
25 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