From patchwork Fri Mar 31 14:18:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Warner Losh X-Patchwork-Id: 1763801 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Pp2cB5C3wz1yY8 for ; Sat, 1 Apr 2023 01:24:42 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piFfK-0004Jq-8Y; Fri, 31 Mar 2023 10:23:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1piFfI-0004Ib-H4 for qemu-devel@nongnu.org; Fri, 31 Mar 2023 10:23:40 -0400 Received: from c-71-237-47-177.hsd1.co.comcast.net ([71.237.47.177] helo=umbrella) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piFfF-0003uZ-V5 for qemu-devel@nongnu.org; Fri, 31 Mar 2023 10:23:40 -0400 Received: from imp (uid 730) (envelope-from imp@umbrella) id 180b2 by umbrella (DragonFly Mail Agent v0.13+ on umbrella); Fri, 31 Mar 2023 08:18:33 -0600 From: Warner Losh To: qemu-devel@nongnu.org Cc: Ryo ONODERA , Reinoud Zandijk , Brad Smith , Kyle Evans , Warner Losh Subject: [PATCH 5/7] bsd-user: Remove openbsd system call tracing Date: Fri, 31 Mar 2023 08:18:31 -0600 Message-Id: <20230331141833.3647-6-imp@bsdimp.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230331141833.3647-1-imp@bsdimp.com> References: <20230331141833.3647-1-imp@bsdimp.com> MIME-Version: 1.0 Received-SPF: none client-ip=71.237.47.177; envelope-from=imp@umbrella; helo=umbrella X-Spam_score_int: 31 X-Spam_score: 3.1 X-Spam_bar: +++ X-Spam_report: (3.1 / 5.0 requ) BAYES_00=-1.9, FSL_HELO_NON_FQDN_1=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HELO_NO_DOMAIN=0.001, KHOP_HELO_FCRDNS=0.399, PDS_RDNS_DYNAMIC_FP=0.01, RCVD_IN_PBL=3.335, RCVD_IN_SORBS_DUL=0.001, RDNS_DYNAMIC=0.982, SPF_NONE=0.001, UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Remove OpenBSD system call tracing. We've not supported building all the BSDs into one module for some time, and the OpenBSD support hasn't even built since the meson conversion. Signed-off-by: Warner Losh --- 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 b82f7b6f00..c921c3cb63 100644 --- a/bsd-user/qemu.h +++ b/bsd-user/qemu.h @@ -195,11 +195,6 @@ print_freebsd_syscall(int num, abi_long arg1, abi_long arg2, abi_long arg3, abi_long arg4, abi_long arg5, abi_long arg6); void print_freebsd_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); -void print_openbsd_syscall_ret(int num, abi_long ret); /** * print_taken_signal: * @target_signum: target signal being taken diff --git a/bsd-user/strace.c b/bsd-user/strace.c index bde906e9be..26abb9f1db 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 openbsd_scnames[] = { -#include "openbsd/strace.list" -}; static void print_syscall(int num, const struct syscallname *scnames, unsigned int nscnames, abi_long arg1, abi_long arg2, abi_long arg3, @@ -226,20 +223,6 @@ void print_freebsd_syscall_ret(int num, abi_long ret) print_syscall_ret(num, ret, freebsd_scnames, ARRAY_SIZE(freebsd_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) -{ - - print_syscall(num, openbsd_scnames, ARRAY_SIZE(openbsd_scnames), arg1, arg2, - arg3, arg4, arg5, arg6); -} - -void print_openbsd_syscall_ret(int num, abi_long ret) -{ - - print_syscall_ret(num, ret, openbsd_scnames, ARRAY_SIZE(openbsd_scnames)); -} - static void print_signal(abi_ulong arg, int last) {