Lock profiling and lock order verification, week 10

Greg Miller greglmiller at gmail.com
Mon Jul 30 13:47:38 UTC 2012


Completed during the week:

* Re-implemented pthread_lockorder_begin_np(),
pthread_lockorder_next_np(), and pthread_lockorder_end_np() using the
lock_info structure.
* Added tests for pthread_lockorder_set_np(), pthread_setname_np(),
and pthread_lockorder_bless_np(), fixing bugs that were found along
the way.
* Added lock names to pthread_lor_np structure.
* Added optimization of the lock order graphs.

Remaining tasks:
* Add tests to directly verify the correctness of the lock order graphs.
* Generate XML output files
* Include backtraces in the LoR log.
* Further commenting and style fixes.


More information about the soc-status mailing list