From: Warner Losh <imp@bsdimp.com>
To: qemu-devel@nongnu.org
Cc: Ryo ONODERA <ryoon@netbsd.org>,
Reinoud Zandijk <reinoud@netbsd.org>,
Brad Smith <brad@comstyle.com>, Kyle Evans <kevans@freebsd.org>,
Warner Losh <imp@bsdimp.com>
Subject: [PATCH 3/7] bsd-user: Remove netbsd system call tracing
Date: Fri, 31 Mar 2023 08:18:29 -0600 [thread overview]
Message-ID: <20230331141833.3647-4-imp@bsdimp.com> (raw)
In-Reply-To: <20230331141833.3647-1-imp@bsdimp.com>
Remove NetBSD system call tracing. We've not supported building all the
BSDs into one module for some time, and the NetBSD support hasn't even
built since the meson conversion.
Signed-off-by: Warner Losh <imp@bsdimp.com>
---
bsd-user/qemu.h | 5 -----
bsd-user/strace.c | 17 -----------------
2 files changed, 22 deletions(-)
diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h
index 4062ee720f..b82f7b6f00 100644
--- a/bsd-user/qemu.h
+++ b/bsd-user/qemu.h
@@ -196,11 +196,6 @@ print_freebsd_syscall(int num,
abi_long arg4, abi_long arg5, abi_long arg6);
void print_freebsd_syscall_ret(int num, abi_long ret);
void
-print_netbsd_syscall(int num,
- abi_long arg1, abi_long arg2, abi_long arg3,
- abi_long arg4, abi_long arg5, abi_long arg6);
-void print_netbsd_syscall_ret(int num, abi_long ret);
-void
print_openbsd_syscall(int num,
abi_long arg1, abi_long arg2, abi_long arg3,
abi_long arg4, abi_long arg5, abi_long arg6);
diff --git a/bsd-user/strace.c b/bsd-user/strace.c
index 96499751eb..bde906e9be 100644
--- a/bsd-user/strace.c
+++ b/bsd-user/strace.c
@@ -152,9 +152,6 @@ static void print_syscall_ret_addr(const struct syscallname *name, abi_long ret)
static const struct syscallname freebsd_scnames[] = {
#include "freebsd/strace.list"
};
-static const struct syscallname netbsd_scnames[] = {
-#include "netbsd/strace.list"
-};
static const struct syscallname openbsd_scnames[] = {
#include "openbsd/strace.list"
};
@@ -229,20 +226,6 @@ void print_freebsd_syscall_ret(int num, abi_long ret)
print_syscall_ret(num, ret, freebsd_scnames, ARRAY_SIZE(freebsd_scnames));
}
-void print_netbsd_syscall(int num, abi_long arg1, abi_long arg2, abi_long arg3,
- abi_long arg4, abi_long arg5, abi_long arg6)
-{
-
- print_syscall(num, netbsd_scnames, ARRAY_SIZE(netbsd_scnames),
- arg1, arg2, arg3, arg4, arg5, arg6);
-}
-
-void print_netbsd_syscall_ret(int num, abi_long ret)
-{
-
- print_syscall_ret(num, ret, netbsd_scnames, ARRAY_SIZE(netbsd_scnames));
-}
-
void print_openbsd_syscall(int num, abi_long arg1, abi_long arg2, abi_long arg3,
abi_long arg4, abi_long arg5, abi_long arg6)
{
--
2.39.2
next prev parent reply other threads:[~2023-03-31 14:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-31 14:18 [PATCH 0/7] bsd-user: remove bitrotted NetBSD and OpenBSD bsd-user support Warner Losh
2023-03-31 14:18 ` [PATCH 1/7] bsd-user: Remove obsolete prototypes Warner Losh
2023-03-31 14:18 ` [PATCH 2/7] bsd-user: Remove netbsd system call inclusion and defines Warner Losh
2023-03-31 14:18 ` Warner Losh [this message]
2023-03-31 14:18 ` [PATCH 4/7] bsd-user: Remove openbsd " Warner Losh
2023-03-31 14:18 ` [PATCH 5/7] bsd-user: Remove openbsd system call tracing Warner Losh
2023-03-31 14:18 ` [PATCH 6/7] bsd-user: Remove netbsd directory Warner Losh
2023-03-31 14:18 ` [PATCH 7/7] bsd-user: Remove openbsd directory Warner Losh
2023-03-31 14:21 ` [PATCH 0/7] bsd-user: remove bitrotted NetBSD and OpenBSD bsd-user support Warner Losh
2023-03-31 23:35 ` Richard Henderson
2023-04-01 13:00 ` Reinoud Zandijk
2023-04-01 13:15 ` Warner Losh
2023-04-02 21:01 ` Warner Losh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230331141833.3647-4-imp@bsdimp.com \
--to=imp@bsdimp.com \
--cc=brad@comstyle.com \
--cc=kevans@freebsd.org \
--cc=qemu-devel@nongnu.org \
--cc=reinoud@netbsd.org \
--cc=ryoon@netbsd.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.