Re: BUG #8531: systemtap probe mark(checkpoint__done) error when i read the parameters

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: digoal <digoal(at)126(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #8531: systemtap probe mark(checkpoint__done) error when i read the parameters
Date: 2013-11-10 21:54:50
Message-ID: 3757.1384120490@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> writes:
> digoal wrote:
>> But the CHECKPOINT_DONE used in src have parameters:
>> CheckpointStats.ckpt_bufs_written,
>> NBuffers,
>> CheckpointStats.ckpt_segs_added,
>> CheckpointStats.ckpt_segs_removed,
>> CheckpointStats.ckpt_segs_recycled

> Uh, you're right. I confused it with BUFFER_CHECKPOINT_DONE.

> I have no useful answer for this right now. The types of the parameters
> appear correct, but that's as further as I checked.

FWIW, I'd guess this is a bug in systemtap, and accordingly should be
reported to those folk. Try filing at bugzilla.redhat.com ... although
they might tell you to try a supported systemtap release, which yours
isn't AFAICT. What I see on my RHEL6 box is systemtap-1.8-7.el6.x86_64
and stap -V sez

Systemtap translator/driver (version 1.8/0.152 non-git sources)
Copyright (C) 2005-2012 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
enabled features: AVAHI LIBRPM LIBSQLITE3 NSS TR1_UNORDERED_MAP NLS

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2013-11-10 22:02:22 Re: BUG #8533: JSON error caused by optimisation
Previous Message Tom Lane 2013-11-10 21:28:27 Re: Re: [BUGS] BUG #7873: pg_restore --clean tries to drop tables that don't exist