-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR20042: support tracepoints with function-pointer args
For example, tracepoint "cpuhp_enter" has "int (*fun)(unsigned int))", but since dwarf_type_name() didn't handle DW_TAG_subroutine_type, it would call this "void*", and then the whole tracepoint function signature would fail -Werror=incompatible-pointer-types. We can now expand function-pointers in dwarf_type_name(), but we also need a new dwarf_type_decl() which knows how to insert the name in the middle of the type string.
- Loading branch information
Showing
3 changed files
with
127 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters