Lines Matching refs:function_info
430 my @function_info = ();
1126 @function_info = @{ $function_info_ref };
1135 for my $keys (0 .. $#function_info)
1137 for my $fields (keys %{$function_info[$keys]})
1139 $msg = "$keys $fields $function_info[$keys]{$fields}";
1181 \@function_info,
1191 @function_info = @{ $function_info_ref };
1202 \@function_info,
1213 parse_source_files (\$number_of_metrics, \@function_info, \$outputdir);
1225 \@function_info,
1239 $ignore_value = process_calltree (\@function_info,
1266 \@function_info,
1297 \@function_info,
3535 my %function_info = %{$function_info_ref};
3539 $msg = "function_info for " . $name;
3543 for my $farray ($function_info{$name})
4549 # function_info array
4559 my @function_info = @{ $function_info_ref };
4568 # TBD: Scan all of the function_info list. Or beter: add index to g_multi_count_function!!
4576 gp_message ("debugXL", $subr_name, "$routine: function_info[$ref_index]{'alt_name'} = $function_info[$ref_index]{'alt_name'}");
4578 $addr_offset = $function_info[$ref_index]{"addressobjtext"};
4846 sub function_info
5250 } #-- End of subroutine function_info
5290 my @function_info = @{ $function_info_ref };
5838 # TBD: Scan all of the function_info list. Or beter: add index to
5855 $msg = $routine . ": function_info[" . $ref_index;
5857 $msg .= $function_info[$ref_index]{'alt_name'};
5860 $addr_offset = $function_info[$ref_index]{"addressobjtext"};
5874 $msg = $function_info[$ref_index]{'alt_name'};
5879 $alt_name = $function_info[$ref_index]{'alt_name'};
5974 my @function_info = @{ $function_info_ref };
7241 my @function_info = @{ $function_info_ref };
7323 for my $i (0 .. $#function_info)
7325 if (defined ($function_info[$i]{"alt_name"}))
7327 $target_function = $function_info[$i]{"alt_name"};
7331 my $msg = "function_info[$i]{\"alt_name\"} is not defined";
7335 $html_source_functions{$target_function} = $function_info[$i]{"html function block"};
7415 \@function_info,
7572 my @function_info = @{ $function_info_ref };
7712 $target_tag = $function_info[$index_into_function_info]{"tag_id"};
7713 $alt_name = $function_info[$index_into_function_info]{"alt_name"};
7798 # Find the index into "function_info" for this particular function.
7803 my $target_index_ref = find_index_in_function_info (\$routine, \$current_address, \@function_info);
7812 my $spaces_left = $function_view_structure{"max function length"} - $function_info[$target_index]{"function length"};
7826 $html_line .= $function_info[$target_index]{"href_source"};
7828 $html_line .= $function_info[$target_index]{"href_disassembly"};
8216 # found in "function_info". In addition to this, several derived structures
8231 my @function_info = ();
8352 if ($function_info[$i]{"Load Object"} eq "DYNAMIC_FUNCTIONS")
8354 $LINUX_vDSO{substr ($function_info[$i]{"addressobjtext"},1)} = $function_info[$i]{"routine"};
8379 $function_info[$i]{"fields in routine name"} = scalar (@fields_in_name);
8386 $function_info[$i]{"alt_name"} = $routine;
8389 gp_message ("debugXL", $subr_name, "the entry in function_info for $routine does not exist");
8390 $function_info[$i]{"routine"} = $routine;
8397 gp_message ("debugXL", $subr_name, "the entry in function_info for $routine exists already");
8398 $function_info[$i]{"routine"} = $routine;
8411 $function_info[$i]{"function length"} = length ($routine);
8412 $function_info[$i]{"tag_id"} = create_function_tag ($i);
8427 gp_message ("debugXL", $subr_name, "stored " . $function_info[$i]{"routine"});
8518 $function_info[$i]{$field} = $value;
8588 ## $function_info[$i]{$field} = $value;
8627 $function_info[$i]{"addressobj"} = $address_decimal;
8628 $function_info[$i]{"addressobjtext"} = $full_address_field;
8641 $msg = "function_info: $FSUMMARY_FILE: function $routine";
8655 gp_message ("debugXL", $subr_name, "augment function_info with alt_name");
8661 for my $i (keys @function_info)
8663 $target_function = $function_info[$i]{"routine"};
8672 $href_link .= $function_info[$i]{"tag_id"};
8674 $function_info[$i]{"href_source"} = $href_link;
8679 $href_link .= $function_info[$i]{"tag_id"};
8681 $function_info[$i]{"href_disassembly"} = $href_link;
8686 $href_link .= $function_info[$i]{"tag_id"};
8688 $function_info[$i]{"href_caller_callee"} = $href_link;
8698 # This forces us to update some entries in function_info too.
8700 my $loadobj = $function_info[$i]{"Load Object"};
8701 my $address_field = $function_info[$i]{"addressobjtext"};
8721 $function_info[$i]{"alt_name"} = $target_function . $extra_field;
8722 gp_message ("debugXL", $subr_name, "function_info[$i]{\"alt_name\"} = " . $function_info[$i]{"alt_name"});
8727 $function_info[$i]{"function length"} = length ($target_function . $extra_field);
8728 $function_info[$i]{"tag_id"} = create_function_tag ($i);
8730 gp_message ("debugXL", $subr_name, "updated function_info[$i]{'routine'} = $function_info[$i]{'routine'}");
8731 gp_message ("debugXL", $subr_name, "updated function_info[$i]{'alt_name'} = $function_info[$i]{'alt_name'}");
8732 gp_message ("debugXL", $subr_name, "updated function_info[$i]{'function length'} = $function_info[$i]{'function length'}");
8733 gp_message ("debugXL", $subr_name, "updated function_info[$i]{'tag_id'} = $function_info[$i]{'tag_id'}");
8736 gp_message ("debug", $subr_name, "augment function_info with alt_name completed");
8744 for my $i (0 .. $#function_info)
8746 $max_function_length = List::Util::max ($max_function_length, $function_info[$i]{"function length"});
8748 gp_message ("debugXL", $subr_name, "function_info[$i]{\"alt_name\"} = " . $function_info[$i]{"alt_name"} . " length = " . $function_info[$i]{"function length"});
8763 # stored in function_info.
8766 for my $i (keys @function_info)
8770 if (defined ($function_info[$i]{"alt_name"}))
8772 $target_function = $function_info[$i]{"alt_name"};
8773 gp_message ("debugXL", $subr_name, "retrieved function_info[$i]{'alt_name'} = $function_info[$i]{'alt_name'}");
8777 my $msg = "function_info[$i]{\"alt_name\"} is not defined";
8781 my $function_length = $function_info[$i]{"function length"};
8805 my $base_function_name = $function_info[$i]{"routine"};
8834 $html_line .= $function_info[$i]{"href_source"} . " ";
8835 $html_line .= $function_info[$i]{"href_disassembly"} . " ";
8836 $html_line .= $function_info[$i]{"href_caller_callee"};
8846 $function_info[$i]{"html function block"} = $html_line;
8854 for my $i (keys @function_info)
8856 $msg = "function_info[$i]{\"html function block\"} = ";
8857 $msg .= $function_info[$i]{"html function block"};
8862 # Print the key data structure %function_info. This is a nested hash.
8864 for my $i (0 .. $#function_info)
8866 for my $role (sort keys %{ $function_info[$i] })
8868 function_info[$i]{$role} = ";
8869 $msg .= $function_info[$i]{$role};
8954 return (\@function_info, \%function_address_and_index, \%addressobjtextm,
9241 # For a given function name, return the index into "function_info". This
9252 my @function_info = @{ $function_info_ref };
9301 my $addr_offset = $function_info[$ref_index]{"addressobjtext"};
9307 # TBD: Do this substitution when storing "addressobjtext" in function_info.
9324 my $msg = "cannot find the mapping in function_info for function $routine";
10031 my @function_info = @{ $function_info_ref };
11307 my @function_info = @{ $function_info_ref };
11342 if (exists ($function_info[$1]{"routine"}))
11344 $target_function = $function_info[$1]{"routine"};
12189 my @function_info = @{ $function_info_ref };
12509 my @function_info = @{ $function_info_ref };
12588 # Function_info creates the functions files from the PC ones
12593 $functions_per_metric_indexes_ref) = function_info (
12733 $routine = $function_info[$routine_index]{"routine"};
12737 # not used $source = $function_info[$routine_index]{"Source File"};
12739 $function_info[$routine_index]{"srcline"} = "";
12740 $address_field = $function_info[$routine_index]{"addressobjtext"};
12819 $routine = $function_info[$routine_index]{"routine"};
12820 $loadobj = $function_info[$routine_index]{"Load Object"};
12842 gp_message ("debugXL", $subr_name, "before function_info[$routine_index]{addressobj} = $function_info[$routine_index]{'addressobj'}");
12844 $function_info[$routine_index]{"addressobj"} += bigint::hex (
12850 $addressobj_index{$function_info[$routine_index]{"addressobj"}} = $routine_index;
12852 gp_message ("debugXL", $subr_name, "after function_info[$routine_index]{addressobj} = $function_info[$routine_index]{'addressobj'}");
12853 gp_message ("debugXL", $subr_name, "after addressobj_index{function_info[$routine_index]{addressobj}} = $addressobj_index{$function_info[$routine_index]{'addressobj'}}");
12879 return (\@function_info, \%function_address_info, \%addressobj_index);
12909 my @function_info = @{ $function_info_ref };
13186 # for index "i" is the index into the large "function_info" structure. This
13218 # the address to find the right match in the function_info structure.
13232 my $addr_offset = $function_info[$ref_index]{"addressobjtext"};
13240 gp_message ("debugXL", $subr_name, "$routine: function_info[$ref_index]{'alt_name'} = $function_info[$ref_index]{'alt_name'}");
13266 my $final_function_name = $function_info[$ref_index]{"routine"};
13283 # contains the index values into @function_info for the functions.
13290 push (@final_html_function_block, $function_info[$index_for_function]{"html function block"});
14582 my @function_info = @{ $function_info_ref };
14685 if (defined ($function_info[$file_id]{"routine"}))
14687 $routine = $function_info[$file_id]{"routine"};
15920 my @function_info = @{$function_info_ref};
15978 if (defined ($function_info[$RI]{"routine"}))
15980 $routine = $function_info[$RI]{"routine"};