Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
4ee79fd2
Commit
4ee79fd2
authored
Dec 24, 2008
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the name of dtrace wal tracepoints:
TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DIRTY Robert Lor
parent
4fc6e2fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/backend/access/transam/xlog.c
src/backend/access/transam/xlog.c
+3
-3
src/backend/utils/probes.d
src/backend/utils/probes.d
+3
-3
No files found.
src/backend/access/transam/xlog.c
View file @
4ee79fd2
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.32
4 2008/12/17 01:39:03
momjian Exp $
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.32
5 2008/12/24 20:41:29
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -1318,14 +1318,14 @@ AdvanceXLInsertBuffer(bool new_segment)
...
@@ -1318,14 +1318,14 @@ AdvanceXLInsertBuffer(bool new_segment)
* Have to write buffers while holding insert lock. This is
* Have to write buffers while holding insert lock. This is
* not good, so only write as much as we absolutely must.
* not good, so only write as much as we absolutely must.
*/
*/
TRACE_POSTGRESQL_WAL_BUFFER_WRITE_START
();
TRACE_POSTGRESQL_WAL_BUFFER_WRITE_
DIRTY_
START
();
WriteRqst
.
Write
=
OldPageRqstPtr
;
WriteRqst
.
Write
=
OldPageRqstPtr
;
WriteRqst
.
Flush
.
xlogid
=
0
;
WriteRqst
.
Flush
.
xlogid
=
0
;
WriteRqst
.
Flush
.
xrecoff
=
0
;
WriteRqst
.
Flush
.
xrecoff
=
0
;
XLogWrite
(
WriteRqst
,
false
,
false
);
XLogWrite
(
WriteRqst
,
false
,
false
);
LWLockRelease
(
WALWriteLock
);
LWLockRelease
(
WALWriteLock
);
Insert
->
LogwrtResult
=
LogwrtResult
;
Insert
->
LogwrtResult
=
LogwrtResult
;
TRACE_POSTGRESQL_WAL_BUFFER_WRITE_DONE
();
TRACE_POSTGRESQL_WAL_BUFFER_WRITE_D
IRTY_D
ONE
();
}
}
}
}
}
}
...
...
src/backend/utils/probes.d
View file @
4ee79fd2
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*
*
* Copyright (c) 2006-2008, PostgreSQL Global Development Group
* Copyright (c) 2006-2008, PostgreSQL Global Development Group
*
*
* $PostgreSQL: pgsql/src/backend/utils/probes.d,v 1.
4 2008/12/17 01:39:04
momjian Exp $
* $PostgreSQL: pgsql/src/backend/utils/probes.d,v 1.
5 2008/12/24 20:41:29
momjian Exp $
* ----------
* ----------
*/
*/
...
@@ -89,6 +89,6 @@ provider postgresql {
...
@@ -89,6 +89,6 @@ provider postgresql {
probe
xlog__insert
(
unsigned
char
,
unsigned
char
);
probe
xlog__insert
(
unsigned
char
,
unsigned
char
);
probe
xlog__switch
();
probe
xlog__switch
();
probe
wal__buffer__write__start
();
probe
wal__buffer__write__
dirty__
start
();
probe
wal__buffer__write__done
();
probe
wal__buffer__write__d
irty__d
one
();
};
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment