From nobody Fri Nov 14 09:25:26 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gentoo.org ARC-Seal: i=1; a=rsa-sha256; t=1587060115; cv=none; d=zohomail.com; s=zohoarc; b=JE+dRvNf+m8ojIhZ2QSvOHwFOcHGrCDFujKrGleatRZwcyUVW/057pwCCP38DHnoCSVP2A0lC6i4a/EBRTcDca5tWaPiTByL4MjeBjmd0xV3ZRKpNtxKziX4H5WKzJcXOmBVJ6IeKz8uS/WOgyjGdXKToyXvMqhaDkk6YiUWG5A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587060115; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=hWM53UiMv/Lbpo+QftglsTwmvPy25/mVaLAMY2X20FA=; b=P7v8dxmEqYiAibRxCAqL+9MYIuO5iWYqF2lcGjRKJu7xisxGnAREEkXGLQJDJ8PO3ExpcD4L8w+A1xkZTQyzpNOS+o944dbS16z5dZ+HoRYOkIFSY2DQ9PyGE16woAqt83GFwrGyQnynvSMup0dqhVPOV5+YRqoyb1CmgDv6f1Q= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1587060113653484.72475925284164; Thu, 16 Apr 2020 11:01:53 -0700 (PDT) Received: from localhost ([::1]:37716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP8pj-0006nJ-Uw for importer@patchew.org; Thu, 16 Apr 2020 14:01:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40993) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP8oS-0006Fi-Hw for qemu-devel@nongnu.org; Thu, 16 Apr 2020 14:00:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jP8oQ-0001Xj-Ib for qemu-devel@nongnu.org; Thu, 16 Apr 2020 14:00:31 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:36322) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jP8oQ-0001Wt-DJ for qemu-devel@nongnu.org; Thu, 16 Apr 2020 14:00:30 -0400 Received: from sf.home (tunnel547699-pt.tunnel.tserv1.lon2.ipv6.he.net [IPv6:2001:470:1f1c:3e6::2]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: slyfox) by smtp.gentoo.org (Postfix) with ESMTPSA id 39A3534F022; Thu, 16 Apr 2020 18:00:28 +0000 (UTC) Received: by sf.home (Postfix, from userid 1000) id 9419D5A22061; Thu, 16 Apr 2020 19:00:04 +0100 (BST) From: Sergei Trofimovich To: qemu-devel@nongnu.org Subject: [PATCH] linux-user/strace.list: fix epoll_create{,1} -strace output Date: Thu, 16 Apr 2020 18:59:57 +0100 Message-Id: <20200416175957.1274882-1-slyfox@gentoo.org> X-Mailer: git-send-email 2.26.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 140.211.166.183 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , Laurent Vivier , Sergei Trofimovich Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" Fix syscall name and parameters priinter. Before the change: ``` $ alpha-linux-user/qemu-alpha -strace -L /usr/alpha-unknown-linux-gnu/ /tmp= /a ... 1274697 %s(%d)(2097152,274903156744,274903156760,274905840712,274877908880,= 274903235616) =3D 3 1274697 exit_group(0) ``` After the change: ``` $ alpha-linux-user/qemu-alpha -strace -L /usr/alpha-unknown-linux-gnu/ /tmp= /a ... 1273719 epoll_create1(2097152) =3D 3 1273719 exit_group(0) ``` Signed-off-by: Sergei Trofimovich CC: Riku Voipio CC: Laurent Vivier Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- linux-user/strace.list | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-user/strace.list b/linux-user/strace.list index d49a1e92a8..9281c0a758 100644 --- a/linux-user/strace.list +++ b/linux-user/strace.list @@ -125,10 +125,10 @@ { TARGET_NR_dup3, "dup3" , "%s(%d,%d,%d)", NULL, NULL }, #endif #ifdef TARGET_NR_epoll_create -{ TARGET_NR_epoll_create, "%s(%d)", NULL, NULL, NULL }, +{ TARGET_NR_epoll_create, "epoll_create", "%s(%d)", NULL, NULL }, #endif #ifdef TARGET_NR_epoll_create1 -{ TARGET_NR_epoll_create1, "%s(%d)", NULL, NULL, NULL }, +{ TARGET_NR_epoll_create1, "epoll_create1", "%s(%d)", NULL, NULL }, #endif #ifdef TARGET_NR_epoll_ctl { TARGET_NR_epoll_ctl, "epoll_ctl" , NULL, NULL, NULL }, --=20 2.26.1