You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import: callgrind.ts: Improved collection of file names associated with functions
When called function is within an inlined code block, it should use file names
provided by 'fi' or 'fe' commands.
Also, when 'fn' command is called, it sets the current file name to the value
provided in the previous 'fl' call.
Also, the file associated with 'fn' should be stored separately so that
it is not overwritten by new 'fl' calls (Callgrind does not tell whether
there can be multiple 'fl' calls without following 'fn' calls, and this
should guard the parser from associating the wrong new file name with the
previous 'fn' function).
This modification fixes detached call stacks, which were created when one
function has been called from inline block without the file source update,
which led to duplicated entries, which were later not removed when
determining root functions.
Signed-off-by: Grzegorz Latosinski <[email protected]>
0 commit comments