* elf/dl-fini.c (_dl_fini): Print some final statistics on the
	total number of relocations performed.
This commit is contained in:
Ulrich Drepper 2002-02-23 19:05:32 +00:00
parent 7fec4f2f70
commit 9836cfe7db
4 changed files with 37 additions and 14 deletions

View File

@ -1,5 +1,8 @@
2002-02-23 Ulrich Drepper <drepper@redhat.com>
* elf/dl-fini.c (_dl_fini): Print some final statistics on the
total number of relocations performed.
* elf/sprof.c (load_profdata): If do_test provide information as
to why loading failed.
* elf/dl-profile.c (_dl_start_profile): Initialize all of

View File

@ -169,4 +169,15 @@ _dl_fini (void)
((fini_t) DL_DT_FINI_ADDRESS (l, l->l_addr + l->l_info[DT_FINI]->d_un.d_ptr)) ();
}
}
if (__builtin_expect (GL(dl_debug_mask) & DL_DEBUG_STATISTICS, 0))
{
INTUSE(_dl_debug_printf) ("\nruntime linker statistics:\n");
INTUSE(_dl_debug_printf) ("\
final number of relocations: %lu\n",
GL(dl_num_relocations));
INTUSE(_dl_debug_printf) ("\
final number of relocations from cache: %lu\n",
GL(dl_num_cache_relocations));
}
}

View File

@ -1,3 +1,8 @@
2002-02-23 Ulrich Drepper <drepper@redhat.com>
* locales/zh_HK: Correct date information.
Patch by Anthony Fok <anthony@thizlinux.com>.
2002-02-13 Ulrich Drepper <drepper@redhat.com>
* locales/sr_YU: Correct month entries for June and July

View File

@ -81,17 +81,19 @@ LC_TIME
% These are generated based on XML base Locale difintion file
% for IBM Class for Unicode/Java
%
% Removed trailing space, by Anthony Fok <anthony@thizlinux.com>, Feb 2002
% Abbreviated weekday names (%a)
abday "<U65E5><U0020>";"<U4E00><U0020>";/
"<U4E8C><U0020>";"<U4E09><U0020>";/
"<U56DB><U0020>";"<U4E94><U0020>";/
"<U516D><U0020>"
abday "<U65E5>";"<U4E00>";/
"<U4E8C>";"<U4E09>";/
"<U56DB>";"<U4E94>";/
"<U516D>"
%
% Removed trailing space, by Anthony Fok <anthony@thizlinux.com>, Feb 2002
% Full weekday names (%A)
day "<U661F><U671F><U65E5><U0020>";"<U661F><U671F><U4E00><U0020>";/
"<U661F><U671F><U4E8C><U0020>";"<U661F><U671F><U4E09><U0020>";/
"<U661F><U671F><U56DB><U0020>";"<U661F><U671F><U4E94><U0020>";/
"<U661F><U671F><U516D><U0020>"
day "<U661F><U671F><U65E5>";"<U661F><U671F><U4E00>";/
"<U661F><U671F><U4E8C>";"<U661F><U671F><U4E09>";/
"<U661F><U671F><U56DB>";"<U661F><U671F><U4E94>";/
"<U661F><U671F><U516D>"
%
% Abbreviated month names (%b)
abmon "<U0031><U6708>";"<U0032><U6708>";/
@ -113,14 +115,16 @@ mon "<U4E00><U6708>";"<U4E8C><U6708>";/
am_pm "<U4E0A><U5348>";"<U4E0B><U5348>"
%
% Appropriate date and time representation
% Update by Roger So <spacehunt@e-fever.org>
d_t_fmt "<U0025><U0059><U5E74><U0025><U0062><U6708><U0025><U0064>/
<U65E5><U0020><U0025><U0070><U0020><U0025><U0049><U003A><U0025><U004D>/
% Update by Roger So <roger.so@sw-linux.com>
% Changed %b to %m, by Anthony Fok <anthony@thizlinux.com>, Feb 2002
d_t_fmt "<U0025><U0059><U5E74><U0025><U006D><U6708><U0025><U0064><U65E5>/
<U0020><U0025><U0041><U0020><U0025><U0048><U003A><U0025><U004D>/
<U003A><U0025><U0053>"
%
% Appropriate date representation
% %Y”N%bŒŽ%d“ú %A
d_fmt "<U0025><U0059><U5E74><U0025><U0062><U6708><U0025><U0064>/
% Changed %b to %m, by Anthony Fok <anthony@thizlinux.com>, Feb 2002
% %Y”N%mŒŽ%d“ú %A
d_fmt "<U0025><U0059><U5E74><U0025><U006D><U6708><U0025><U0064>/
<U65E5><U0020><U0025><U0041>"
%
% Appropriate time representation
@ -129,7 +133,7 @@ t_fmt "<U0025><U0049><U6642><U0025><U004D><U5206><U0025><U0053>/
<U79D2><U0020><U0025><U005A>"
%
% Appropriate 12 h time representation (%r)
% Update by Roger So <spacehunt@e-fever.org>
% Update by Roger So <roger.so@sw-linux.com>
t_fmt_ampm "<U0025><U0070><U0020><U0025><U0049><U003A><U0025><U004D>/
<U003A><U0025><U0053>"
%