Increase the max number of addresses to 1021, reorganise SysprofMmapArea

2006-10-26  Soren Sandmann <sandmann@daimi.au.dk>

        * module/sysprof-module.h (struct SysprofStackTrace): Increase the
        max number of addresses to 1021, reorganise SysprofMmapArea to
        make the traces naturally page aligned.

        * TODO: Update
This commit is contained in:
Soren Sandmann
2006-11-02 06:54:12 +00:00
committed by Søren Sandmann Pedersen
parent e7415d4492
commit 9a1ed3d336
6 changed files with 50 additions and 28 deletions

View File

@ -363,8 +363,8 @@ profile_caller_new (void)
}
ProfileCaller *
profile_list_callers (Profile *profile,
char *callee_name)
profile_list_callers (Profile *profile,
char *callee_name)
{
StackNode *node;
StackNode *callees;
@ -379,11 +379,12 @@ profile_list_callers (Profile *profile,
for (node = callees; node != NULL; node = node->next)
{
ProfileCaller *caller;
if (!node->parent)
continue;
ProfileCaller *caller =
g_hash_table_lookup (callers_by_name, node->parent->address);
caller = g_hash_table_lookup (callers_by_name, node->parent->address);
if (!caller)
{