Skip to content

Conversation

henry2cox
Copy link
Collaborator

Use callback to munge function names for display.
Goal is to compress the function detail table by, for example, shortening long template or namespace names - e.g., to replace (long) typenames with the typedef names used in your code.

Implemented as a callback rather than, for example, as a list of regexps because any project complicated enough to need simplification is complicated enough that the required regexps will be very, very complicated. A callback is easier and more flexible.
See the sample implementation in .../scripts/simplify.pl

This feature may go part of the way toward satisfying #164. (Function names will not be collapsed into one entry - but the table entries can be arbitrarily simple.)

Use callback to munge function names for display.
Goal is to compress the function detail table by, for example, shortening long template or namespace names.

Implemented as a callback rather than, for example, as a list of regexps because any project complicated enough to need simplification is complicated enough that the required regexps will be very, very complicated.
A callback is easier and more flexible.
See the sample implementation in .../scripts/simplify.pl

This feature may go part of the way toward satisfying linux-test-project#164.  (Function names will not be collapsed into one entry - but the table entries can be arbitrarily simple.)

Signed-off-by: Henry Cox <[email protected]>
@henry2cox henry2cox merged commit b6a0b6e into linux-test-project:master Sep 15, 2025
5 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.

1 participant