https://bugs.kde.org/show_bug.cgi?id=393857
Bug ID: 393857 Summary: Please add support for gcc's artificial attribute Product: valgrind Version: 3.13.0 Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: callgrind Assignee: josef.weidendor...@gmx.de Reporter: bugzi...@poradnik-webmastera.com Target Milestone: --- Callgrind aggregates data for all inline function calls, and presents them in separate section below profiled code. This causes problem when code calls small inline functions many times from many places, e.g. when it uses intrinsics. In the past this also caused problem with debugging using gdb, so gcc introduced special function attribute - artificial. When it is used, gdb on callstacks shows place where function is inlined instead of line from inlined function. Here is nice example: https://stackoverflow.com/questions/20110291/use-cases-of-the-gcc-artificial-function-attribute Please add support for artificial attribute to Valgrind. It would help with profiling programs which uses intrinsics, and any others which uses similar small inline wrappers. Aggregated data for inline function also may be beneficial in some cases, so please keep displaying them as well. You may add new option which will allow to choose what to display (aggregated data, inline data, both). -- You are receiving this mail because: You are watching all bug changes.