]> granicus.if.org Git - postgresql/commit
When trace_lwlocks is used, identify individual lwlocks by name.
authorRobert Haas <rhaas@postgresql.org>
Fri, 11 Sep 2015 17:58:28 +0000 (13:58 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 11 Sep 2015 18:01:39 +0000 (14:01 -0400)
commitaa65de042f5828968f2f6cd65f45c543a40cc3e6
treeec5527e659f88c9ad3a54d0fb927f17d9dacbd42
parenta1b28885177aff123cafe5a7f694555af33ad4e9
When trace_lwlocks is used, identify individual lwlocks by name.

Naming the individual lwlocks seems like something that may be useful
for other types of debugging, monitoring, or instrumentation output,
but this commit just implements it for the specific case of
trace_lwlocks.

Patch by me, reviewed by Amit Kapila and Kyotaro Horiguchi
src/backend/Makefile
src/backend/storage/lmgr/.gitignore [new file with mode: 0644]
src/backend/storage/lmgr/Makefile
src/backend/storage/lmgr/generate-lwlocknames.pl [new file with mode: 0644]
src/backend/storage/lmgr/lwlock.c
src/backend/storage/lmgr/lwlocknames.txt [new file with mode: 0644]
src/include/storage/.gitignore [new file with mode: 0644]
src/include/storage/lwlock.h
src/tools/msvc/Solution.pm