Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4ee79fd

Browse files
committed
Change the name of dtrace wal tracepoints:
TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTYRobert Lor
1 parent4fc6e2f commit4ee79fd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.324 2008/12/17 01:39:03 momjian Exp $
10+
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.325 2008/12/24 20:41:29 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1318,14 +1318,14 @@ AdvanceXLInsertBuffer(bool new_segment)
13181318
* Have to write buffers while holding insert lock. This is
13191319
* not good, so only write as much as we absolutely must.
13201320
*/
1321-
TRACE_POSTGRESQL_WAL_BUFFER_WRITE_START();
1321+
TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTY_START();
13221322
WriteRqst.Write=OldPageRqstPtr;
13231323
WriteRqst.Flush.xlogid=0;
13241324
WriteRqst.Flush.xrecoff=0;
13251325
XLogWrite(WriteRqst, false, false);
13261326
LWLockRelease(WALWriteLock);
13271327
Insert->LogwrtResult=LogwrtResult;
1328-
TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DONE();
1328+
TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTY_DONE();
13291329
}
13301330
}
13311331
}

‎src/backend/utils/probes.d

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
*Copyright (c) 2006-2008, PostgreSQL Global Development Group
55
*
6-
*$PostgreSQL: pgsql/src/backend/utils/probes.d,v 1.4 2008/12/17 01:39:04 momjian Exp $
6+
*$PostgreSQL: pgsql/src/backend/utils/probes.d,v 1.5 2008/12/24 20:41:29 momjian Exp $
77
* ----------
88
*/
99

@@ -89,6 +89,6 @@ provider postgresql {
8989

9090
probexlog__insert(unsignedchar,unsignedchar);
9191
probexlog__switch();
92-
probewal__buffer__write__start();
93-
probewal__buffer__write__done();
92+
probewal__buffer__write__dirty__start();
93+
probewal__buffer__write__dirty__done();
9494
};

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp