mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 14:40:54 +00:00
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:
committed by
Søren Sandmann Pedersen
parent
e7415d4492
commit
9a1ed3d336
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user