Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lookup.c: maybe_discarded_sym() add __pfx_ pattern #1361

Closed
wants to merge 1 commit into from

Conversation

he7850
Copy link

@he7850 he7850 commented Sep 16, 2023

Linux-6.4 may generate __pfx_{func} symbols for function symbol {func}, however, vmlinux symtab will not contain these symbols, which will cause error when matching local symbols for changed objects.

fix part of #1360

Linux-6.4 generates __pfx_{func} symbols for each function symbol {func},
however, vmlinux symtab will not contain these symbols, which will cause
error when matching local symbols for changed objects.

Signed-off-by: hubin <[email protected]>
Copy link

This PR has been open for 60 days with no activity and no assignee. It will be closed in 7 days unless a comment is added.

@github-actions github-actions bot added the stale label Nov 16, 2023
Copy link

This PR was closed because it was inactive for 7 days after being marked stale.

@github-actions github-actions bot closed this Nov 24, 2023
@jpoimboe jpoimboe removed the stale label Nov 27, 2023
@@ -83,6 +83,7 @@ static bool maybe_discarded_sym(const char *name)
!strncmp(name, "__brk_reservation_fn_", 21) ||
!strncmp(name, "__func_stack_frame_non_standard_", 32) ||
strstr(name, "__addressable_") ||
strstr(name, "__pfx_") ||
Copy link
Member

Choose a reason for hiding this comment

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

It would be more precise to use !strncmp(name, "__pfx_", 6)

@jpoimboe jpoimboe reopened this Nov 27, 2023
Copy link

This PR has been open for 60 days with no activity and no assignee. It will be closed in 7 days unless a comment is added.

@github-actions github-actions bot added the stale label Jan 27, 2024
Copy link

github-actions bot commented Feb 4, 2024

This PR was closed because it was inactive for 7 days after being marked stale.

@github-actions github-actions bot closed this Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants