Re: DTrace probe patch for OS X Leopard - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: DTrace probe patch for OS X Leopard
Date
Msg-id 200802290018.15838.peter_e@gmx.net
Whole thread Raw
In response to Re: DTrace probe patch for OS X Leopard  (Robert Lor <Robert.Lor@Sun.COM>)
Responses Re: DTrace probe patch for OS X Leopard
List pgsql-patches
Robert Lor wrote:
> dtrace call in src/Makefile is to generate probes.h before any file is
> compiled so it can be used in c.h to avoid "probes.h not found" error.
> The dtrace call in src/backend/Makefile is only needed for Solaris.

Is c.h the right place to include this?  The probes are only in the backend
code, so perhaps postgres.h would be more appropriate.  Or just include it in
the .c files that need it, of which there are only 3.

pgsql-patches by date:

Previous
From: Robert Lor
Date:
Subject: Re: DTrace probe patch for OS X Leopard
Next
From: Robert Lor
Date:
Subject: Re: DTrace probe patch for OS X Leopard