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

From Zdenek Kotala
Subject [PATCH] dtrace probes for memory manager
Date
Msg-id 1258145936.1316.50.camel@localhost
Whole thread Raw
Responses Re: [PATCH] dtrace probes for memory manager
Re: [PATCH] dtrace probes for memory manager
List pgsql-hackers
Attached patch contains new dtrace probes for memory management. Main
purpose is to analyze memory footprint - for example how many memory
needs transaction, peak memory per context, when memory block is reused
or when it is allocate by malloc and so on.

There are three groups of probes:

1) general memory context operation:

mcxt-alloc
mcxt-create
mcxt-delete
mcxt-free
mcxt-realloc
mcxt-reset

2) AllocSet operations (called from mcxt)

aset-alloc
aset-delete
aset-free
aset-realloc
aset-reset

3) AllocSet Block operations.

aset-block-free
aset-block-new
aset-block-realloc
aset-block-reset


    Zdenek

Attachment

pgsql-hackers by date:

Previous
From: Andrew Chernow
Date:
Subject: Re: Listen / Notify rewrite
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] dtrace probes for memory manager