diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2022-09-06 02:08:37 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2022-09-27 09:30:44 +0200 |
commit | 375ce49be285c5ff73674674350cc99807dfac83 (patch) | |
tree | 69a36e9e1d579e59625f29106c34413f560f8613 /linux-user/strace.list | |
parent | 8655b4c7099dd198836610bdfb22f09d332b28d3 (diff) |
linux-user: Implement stracing madvise()
The default implementation has several problems: the first argument is
not displayed as a pointer, making it harder to grep; the third
argument is not symbolized; and there are several extra unused
arguments.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220906000839.1672934-4-iii@linux.ibm.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/strace.list')
-rw-r--r-- | linux-user/strace.list | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/strace.list b/linux-user/strace.list index 215d971b2a..c6f748505a 100644 --- a/linux-user/strace.list +++ b/linux-user/strace.list @@ -542,7 +542,7 @@ { TARGET_NR_lstat64, "lstat64" , NULL, print_lstat64, NULL }, #endif #ifdef TARGET_NR_madvise -{ TARGET_NR_madvise, "madvise" , NULL, NULL, NULL }, +{ TARGET_NR_madvise, "madvise" , NULL, print_madvise, NULL }, #endif #ifdef TARGET_NR_madvise1 { TARGET_NR_madvise1, "madvise1" , NULL, NULL, NULL }, |