Bug 487829 - improve readability with function context
Summary: improve readability with function context
Status: REPORTED
Alias: None
Product: valgrind
Classification: Developer tools
Component: callgrind (show other bugs)
Version: 3.14.0
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Josef Weidendorfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-31 09:31 UTC by Marcus Kool
Modified: 2024-05-31 09:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Kool 2024-05-31 09:31:52 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

When studying the output of callgrind_annotate I like to see more context: I like to see the whole function instead on N lines of context.  Currently I try to get this effect by increasing --context to a large number but that overshoots.
Could be possible to introduce --include-function=yes option and if used, ignore the --context and output the whole function?

STEPS TO REPRODUCE
1. just run callgrind_annotate


OBSERVED RESULT

8 lines of context

EXPECTED RESULT

the whole function as context
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 22.04


ADDITIONAL INFORMATION