Re: Issue in man page sprof.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/17/24 5:46 AM, Helge Kreutzmann wrote:
> Without further ado, the following was found:
> 
> Issue:    Inconsistency detected by ld.so: dl-open.c: 930: _dl_open: Assertion `_dl_debug_update (args.nsid)->r_state == RT_CONSISTENT' failed!

This is no translation for this assertion failure.

We don't ask glibc translators, via the Translation Project
(https://translationproject.org/html/welcome.html), to translate the above text.

This is early in the startup of ld.so and we cannot translate this error message
because the infrastructure to do the translation is not usable yet
i.e. elf/dl-minimal.c:__assert_fail.

Once ld.so is fully relocated and setup we can start translating error messages.

I don't see the above message in any of the man pages text?
 
> "$ B<sprof -p libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile>\n"
> "Flat profile:\n"
> "\\&\n"
> "Each sample counts as 0.01 seconds.\n"
> "  %   cumulative   self              self     total\n"
> " time   seconds   seconds    calls  us/call  us/call  name\n"
> " 60.00      0.06     0.06      100   600.00           consumeCpu1\n"
> " 40.00      0.10     0.04     1000    40.00           consumeCpu2\n"
> "  0.00      0.10     0.00        1     0.00           x1\n"
> "  0.00      0.10     0.00        1     0.00           x2\n"

This has no translation today.

This *could* be translated in glibc, but we haven't marked it as translatable.

I expect the reason is that we align the columns precisely on the given English
ascii text in order to produce a nice table, but with a translation that would
need to be adjusted per translated label.

Thus for now this isn't being translated, and to translate it would require an
RFE to rewrite elf/sprof.c in generate_flat_profile and generate_call_graph to
handle the translated column width correctly.

-- 
Cheers,
Carlos.





[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux