]> granicus.if.org Git - postgresql/commit
Enable probes to work with Mac OS X Leopard and other OSes that will
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 17 Mar 2008 19:44:41 +0000 (19:44 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 17 Mar 2008 19:44:41 +0000 (19:44 +0000)
commita7b7b07af340c73adee9959edf260695591a9496
treeed5c5cfd965970a04dcd597f2eb11c4e3895f8fd
parente7115a224a3f43764ce31fc4ed4dcb19d73b668f
Enable probes to work with Mac OS X Leopard and other OSes that will
support DTrace in the future.

Switch from using DTRACE_PROBEn macros to the dynamically generated macros.
Use "dtrace -h" to create a header file that contains the dynamically
generated macros to be used in the source code instead of the DTRACE_PROBEn
macros.  A dummy header file is generated for builds without DTrace support.

Author: Robert Lor <Robert.Lor@sun.com>
src/backend/Makefile
src/backend/access/transam/xact.c
src/backend/storage/lmgr/lock.c
src/backend/storage/lmgr/lwlock.c
src/backend/utils/Gen_dummy_probes.sed [new file with mode: 0644]
src/backend/utils/Makefile
src/include/Makefile
src/include/c.h
src/include/pg_trace.h