Restore previous ordering of BUFFER_FLUSH_START probe. I had wanted to
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 13 Mar 2009 17:46:21 +0000 (17:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 13 Mar 2009 17:46:21 +0000 (17:46 +0000)
commitbd93007787f0b5ec29c92137d0cc95cf25a2b204
treea8c6f84bc220b193102d4f7fde5f27c4873c5d0a
parent77f4d1ca942c177421c8bc8acf015acb648ec401
Restore previous ordering of BUFFER_FLUSH_START probe.  I had wanted to
make it include the time for the possible smgropen() call, but that
results in a null pointer dereference :-(.

An alternative solution would be to fetch the buffer tag instead of
looking at *reln, but I'll just put it back as it was for the moment.

BTW, this indicates that DTrace probes evaluate their arguments even
when nominally inactive.  What was that about "zero cost", again?
src/backend/storage/buffer/bufmgr.c