Re: DTrace probes patch - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: DTrace probes patch
Date
Msg-id 20081216180705.GP4741@alvh.no-ip.org
Whole thread Raw
In response to Re: DTrace probes patch  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Bruce Momjian wrote:

> I am seeing the following error when linking the backend on a BSD machine:
> 
>     ./../src/port/libpgport_srv.a -lssl -lcrypto -lgetopt -ldl -lutil -lm -o
>     postgres
>     storage/buffer/bufmgr.o: In function `ReadBuffer_common':
>     storage/buffer/bufmgr.o(.text+0x4e2): undefined reference to
>     `TRACE_POSTGRESQL_BUFFER_READ_DONE'
>     storage/smgr/md.o: In function `mdread':
>     storage/smgr/md.o(.text+0x8a7): undefined reference to

The reason is that Gen_dummy_probes.sed handles only up to 6 args, and
this function has 7.  Just add one more line to that file.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Review: Hot standby
Next
From: Robert Lor
Date:
Subject: Re: DTrace probes patch