Lines Matching refs:profile

138 	# Output will usually be placed down in $dir, e.g. "$dir/profile.static"
184 my $outfile = "$output_dir/profile.static";
226 # static profile for 64 bit binaries, although the
274 # Also store the dtneededs from the static profile output.
302 # Top level subroutine for doing a dynamic profile of an object. It
313 my ($profile, $line, $tmp);
315 # This is the profile output file.
316 my $outfile = "$output_dir/profile.dynamic";
318 $profile = get_dynamic_profile($object);
320 if ($profile =~ /^ERROR:\s*(.*)$/) {
321 # There was some problem obtaining the dynamic profile
323 my $errfile = "$output_dir/profile.dynamic.errors";
334 # Write a comment to the profile file as well:
355 # through $profile twice.
357 my @dynamic_profile_array = split(/\n/, $profile);
481 # of the profile output.
511 # here it will go into 1 record into the profile output.
587 # profile output file in the UNBOUND
659 # Now make the actual profile output line. Construct
702 $outfile = "$output_dir/profile.dynamic.objects";
722 $outfile = "$output_dir/profile.dynamic.ldd";
748 my ($profile, $total, $count);
758 $profile = "$dir/profile.dynamic";
760 if (! -f $profile || ! open($profile_fh, "<$profile")) {
786 $profile = "$dir/profile.dynamic.ldd";
788 if (! open($all_neededs_fh, "<$profile")) {
827 # if so, use the dynamic profile of those binaries
919 my ($object, $caller, $callee, $sym, $profile);
930 # read the other binary's profile
932 $profile = "$dir2/profile.dynamic";
933 if (! -f $profile) {
938 open($prof_try_fh, "<$profile") ||
939 exiter(nofile($profile, $!));
979 # modify our profile with the new information:
980 $profile = "$dir/profile.dynamic";
981 if (! rename($profile, "$profile.0") || ! -f "$profile.0") {
985 if (! open($prof_orig_fh, "<$profile.0")) {
986 rename("$profile.0", $profile);
990 if (! open($prof_fh, ">$profile")) {
991 rename("$profile.0", $profile);
1058 # LD_DEBUG profile line, starts with "NNNNN:"
1374 # on. It collects the stdout and the LD_DEBUG profile data for the
1375 # object (it must skip the LD_DEBUG profile data for /usr/bin/ldd
1378 # It returns the profile data as a single string with \n separated
1427 # profile, but we do not want to depend upon that.
1507 # just return the correct LD_DEBUG profile data.
1538 # ok = 1 means this file we are reading the profile file
1546 # correct profile.
1571 # Check to see if this is the wrong profile
1595 # Gather the profile output into a string:
1600 # Note that this one is the desired profile
1628 "SUID - ldd(1) LD_DEBUG profile failed");
1631 "SGID - ldd(1) LD_DEBUG profile failed");
1634 "could not get ldd(1) LD_DEBUG profile output");
1638 # Append the correct profile to the result and return it: