Kyle Roarty has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/46241 )
Change subject: arch-x86: Ignore syscalls called in ROCm 4
......................................................................
arch-x86: Ignore syscalls called in ROCm 4
This patch ignores syscalls called by the ROCm 4 stack. Based on testing
so far, these syscalls don't affect the correctness of programs that use
ROCm 4.
sched_yield gets changed to ignoreWarnOnceFunc, as it gets called
significantly more in ROCm 4.
Change-Id: I566b1d71d989c54bfc559d5b83790dff73a38b28
---
M src/arch/x86/linux/syscall_tbl64.cc
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/arch/x86/linux/syscall_tbl64.cc
b/src/arch/x86/linux/syscall_tbl64.cc
index 8630265..be82437 100644
--- a/src/arch/x86/linux/syscall_tbl64.cc
+++ b/src/arch/x86/linux/syscall_tbl64.cc
@@ -60,7 +60,7 @@
{ 21, "access", ignoreFunc },
{ 22, "pipe", pipeFunc },
{ 23, "select", selectFunc<X86Linux64> },
- { 24, "sched_yield", ignoreFunc },
+ { 24, "sched_yield", ignoreWarnOnceFunc },
{ 25, "mremap", mremapFunc<X86Linux64> },
{ 26, "msync" },
{ 27, "mincore" },
@@ -111,7 +111,7 @@
{ 72, "fcntl", fcntlFunc },
{ 73, "flock" },
{ 74, "fsync" },
- { 75, "fdatasync" },
+ { 75, "fdatasync", ignoreFunc },
{ 76, "truncate", truncateFunc },
{ 77, "ftruncate", ftruncateFunc },
#if defined(SYS_getdents)
@@ -171,7 +171,7 @@
{ 128, "rt_sigtimedwait" },
{ 129, "rt_sigqueueinfo" },
{ 130, "rt_sigsuspend" },
- { 131, "sigaltstack" },
+ { 131, "sigaltstack", ignoreFunc },
{ 132, "utime" },
{ 133, "mknod", mknodFunc },
{ 134, "uselib" },
@@ -197,7 +197,7 @@
{ 154, "modify_ldt" },
{ 155, "pivot_root" },
{ 156, "_sysctl" },
- { 157, "prctl" },
+ { 157, "prctl", ignoreFunc },
{ 158, "arch_prctl", archPrctlFunc },
{ 159, "adjtimex" },
{ 160, "setrlimit", ignoreFunc },
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/46241
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I566b1d71d989c54bfc559d5b83790dff73a38b28
Gerrit-Change-Number: 46241
Gerrit-PatchSet: 1
Gerrit-Owner: Kyle Roarty <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s