Re: [PATCH] dtrace probes for memory manager - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] dtrace probes for memory manager
Date
Msg-id 22923.1260562278@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] dtrace probes for memory manager  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: [PATCH] dtrace probes for memory manager  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List pgsql-hackers
Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
> I thought about it. I think we can use GUC variable (e.g. dtraced_alloc)
> and hook switch pointers to dtraced AsetFunctions. The problem is how to
> distribute to all backend.

You set the GUC in postgresql.conf.  No big deal.

If we go this route it would be nice to think about making a facility
that has some usefulness for non-DTrace platforms too.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Adding support for SE-Linux security
Next
From: Stephen Frost
Date:
Subject: Re: SE-PostgreSQL/Lite Review