Skip site navigation (1) Skip section navigation (2)

Re: Dtrace probes documentation

From: Joshua Tolley <eggyknap(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Dtrace probes documentation
Date: 2009-05-28 23:20:39
Message-ID: 20090528232039.GD15201@eddie (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Thu, May 28, 2009 at 06:28:14PM -0400, Tom Lane wrote:
> Joshua Tolley <eggyknap(at)gmail(dot)com> writes:
> > The dtrace probes documentation [1] spells each probe name with dashes
> > ("transaction-start", "transaction-commit", etc.). Yet as far as I can see,
> > dtrace only works if you spell the probe names with double underscores
> > ("transaction__start", "transaction__commit", etc.). Why the discrepancy?
> Read 26.4.3 and .4.  I don't know why they have this bizarre set of
> conventions, but the single-hyphen version is the spelling
> most visible to end users.

I thought it might be something like that. I've been playing with SystemTap,
and found that only the double-underscore version works for ... well, anything.
See for
details. Perhaps it's worth noting in the documentation that SystemTap users
will need to use the double-underscore version?

- Josh / eggyknap

In response to


pgsql-hackers by date

Next:From: Kevin GrittnerDate: 2009-05-28 23:32:04
Subject: Re: User-facing aspects of serializable transactions
Previous:From: Greg StarkDate: 2009-05-28 23:12:40
Subject: Re: User-facing aspects of serializable transactions

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group