Hi Kalle,

It is an improvement, but I think it would be even better to
specifically mention glibc.

Ok - I have checked in a patch to change the paragraph to read as follows:

  By contrast, the number-of-calls and basic-block figures
  are derived by counting, not sampling.  They are completely
  accurate and will not vary from run to run if your program
  is deterministic and single threaded.  In multi-threaded
  applications, or single threaded applications that link
  with multi-threaded libraries, the counts are only
  deterministic if the counting function is thread-safe.
  (Note: beware that the mcount counting function in glibc
  is not thread-safe).

Cheers
  Nick




_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to