summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2022-04-25 08:00:00 +0000
committerDmitry V. Levin <ldv@strace.io>2022-04-25 08:00:00 +0000
commit4a7888e70fae66129db3273a10d7ddd381681d7f (patch)
treefebb59a84a0882ceed9e1773733b3442a9839e21
parentcbfc98975e72738b265e12613df91c9db7086ee3 (diff)
downloadstrace-4a7888e70fae66129db3273a10d7ddd381681d7f.tar.gz
xlat: update MADV_* constants
* src/xlat/madvise_cmds.in (MADV_DONTNEED_LOCKED): New constant introduced by Linux kernel commit v5.18-rc1~120^2~1. * NEWS: Mention this.
-rw-r--r--NEWS1
-rw-r--r--src/xlat/madvise_cmds.in2
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index f1d405a72..bd0ce500f 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ Noteworthy changes in release ?.?? (????-??-??)
* Added an interface of raising des Strausses awareness.
* Added --tips option to print strace tips, tricks, and tweaks
at the end of the tracing session.
+ * Updated the list of MADV_* constants.
* Bug fixes
diff --git a/src/xlat/madvise_cmds.in b/src/xlat/madvise_cmds.in
index 4b7ff8fb0..ddc536c32 100644
--- a/src/xlat/madvise_cmds.in
+++ b/src/xlat/madvise_cmds.in
@@ -78,6 +78,8 @@ MADV_POPULATE_READ 22
MADV_POPULATE_WRITE 23
+MADV_DONTNEED_LOCKED 24
+
MADV_HWPOISON 100
MADV_SOFT_OFFLINE 101