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

Commit5a90ac2

Browse files
committed
Add Valgrind suppression for reorderbuffer padding bytes.
Andres Freund
1 parent9af8bd5 commit5a90ac2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎src/tools/valgrind.supp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
# The libc symbol that implements a particular standard interface is
66
# implementation-dependent. For example, strncpy() shows up as "__GI_strncpy"
77
# on some platforms. Use wildcards to avoid mentioning such specific names.
8+
# Avoid mentioning functions that are good candidates for inlining,
9+
# particularly single-caller static functions. Suppressions mentioning them
10+
# would be ineffective at higher optimization levels.
811

912

1013
# We have occasion to write raw binary structures to disk or to the network.
@@ -63,6 +66,15 @@
6366
fun:write_relcache_init_file
6467
}
6568

69+
{
70+
padding_reorderbuffer_serialize
71+
Memcheck:Param
72+
write(buf)
73+
74+
...
75+
fun:ReorderBufferSerializeTXN
76+
}
77+
6678

6779
# gcc on ppc64 can generate a four-byte read to fetch the final "char" fields
6880
# of a FormData_pg_cast. This is valid compiler behavior, because a proper

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp