Re: profiling connection overhead

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, pgsql-hackers@postgresql.org
Date: 2010-11-24T18:20:36Z
Lists: pgsql-hackers

Attachments

On Wed, Nov 24, 2010 at 1:06 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> OK, patch attached.
>
> Two comments:

Revised patch attached.

I tried configuring oprofile with --callgraph=10 and then running
oprofile with -c, but it gives kooky looking output I can't interpret.
 For example:

  6        42.8571  postgres                 record_in
  8        57.1429  postgres                 pg_perm_setlocale
17035     5.7219  libc-2.11.2.so           memcpy
  17035    100.000  libc-2.11.2.so           memcpy [self]

Not that helpful.  :-(

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company