mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Add FIXME about performance issue in stack_stash_add_trace()
This commit is contained in:
@ -220,6 +220,13 @@ stack_stash_add_trace (StackStash *stash,
|
|||||||
StackNode *match = NULL;
|
StackNode *match = NULL;
|
||||||
StackNode *prev;
|
StackNode *prev;
|
||||||
|
|
||||||
|
/* FIXME: On x86-64 we don't get proper stacktraces which means
|
||||||
|
* each node can have tons of children. That makes this loop
|
||||||
|
* here show up on profiles.
|
||||||
|
*
|
||||||
|
* Not sure what can be done about it aside from actually fixing
|
||||||
|
* x86-64 to get stacktraces.
|
||||||
|
*/
|
||||||
prev = NULL;
|
prev = NULL;
|
||||||
for (match = *location; match; prev = match, match = match->siblings)
|
for (match = *location; match; prev = match, match = match->siblings)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user