Re: profiling connection overhead - Mailing list pgsql-hackers

From Robert Haas
Subject Re: profiling connection overhead
Date
Msg-id AANLkTimzMGWrAs2DTMA4n7tEt9mRHOOjDY_Rrg4WpB6F@mail.gmail.com
Whole thread Raw
In response to Re: profiling connection overhead  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: profiling connection overhead
Re: profiling connection overhead
Re: profiling connection overhead
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Radosław Smogura
Date:
Subject: Re: [JDBC] JDBC and Binary protocol error, for some statements
Next
From: Maciek Sakrejda
Date:
Subject: Re: [JDBC] JDBC and Binary protocol error, for some statements