[PATCH 06/14] locking: add lockevent_read() prototype