Re: [PATCH] dtrace probes for memory manager
Joshua D. Drake <jd@commandprompt.com>
From: "Joshua D. Drake" <jd@commandprompt.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Date: 2009-11-13T21:25:33Z
Lists: pgsql-hackers
On Fri, 2009-11-13 at 15:22 -0600, Kevin Grittner wrote: > "Joshua D. Drake" <jd@commandprompt.com> wrote: > > > Is it possible to have a set of probes that would only be enabled > > with say, --enable-debug compile time option? > > But we routinely build with that for normal production use so that if > we get a core dump or need to backtrace a problem process, we will get > meaningful results. Please don't create a performance penalty for > compiling with debug info. (We'd probably wind up disabling it....) Good point but I still say that the probes are useful. I am not sure we have a good compile time flag for it right now but it seems that would be the way to do it. Joshua D. Drake > > -Kevin > -- PostgreSQL.org Major Contributor Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564 Consulting, Training, Support, Custom Development, Engineering If the world pushes look it in the eye and GRR. Then push back harder. - Salamander