]> git.ipfire.org Git - thirdparty/glibc.git/commit
Fix mutex pretty printer test and pretty printer output.
authorTorvald Riegel <triegel@redhat.com>
Fri, 20 Jan 2017 13:54:49 +0000 (14:54 +0100)
committerTorvald Riegel <triegel@redhat.com>
Fri, 20 Jan 2017 13:56:39 +0000 (14:56 +0100)
commit6d523660e9f9f18e6c497d2d882c644e9c1b1c29
tree407df07601c4e03c4e8679c2f0b1bd1cffc6a6c3
parent03b007771beb4dba3b16d6097a53bfa328a78efb
Fix mutex pretty printer test and pretty printer output.

This fixes the mutex pretty printer so that, if the owner ID isn't recorded
(such as in the current lock elision implementation), "Owner ID" will be shown
as "Unknown" instead of 0. It also changes the mutex printer output so that it
says "Acquired" instead of "Locked". The mutex tests are updated accordingly.

In addition, this adds a paragraph to the "Known issues" section of the
printers README explaining that the printer output isn't guaranteed to cover
every detail.

2017-01-14  Martin Galvan  <martingalvan@sourceware.org>

        * README.pretty-printers (Known issues): Warn about printers not
        always covering everything.
        * nptl/nptl-printers.py (MutexPrinter): Change output.
        * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
ChangeLog
README.pretty-printers
nptl/nptl-printers.py
nptl/test-mutex-printers.py