From patchwork Wed Aug 7 08:35:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 817377 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e11:0:b0:367:895a:4699 with SMTP id p17csp294187wrt; Wed, 7 Aug 2024 01:36:11 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWa6oOe7ZzfNs6cZEOJuC4qy7aL1xWGfU1k2OSfxilcYgG3P4ynixofDrPOaaH9ReaPFHGrhCWq1VNAoPE6aNuS X-Google-Smtp-Source: AGHT+IGSgtOQWDvgw+4Np7dqdmbTfu6kn2uxPia25sMXqiijdI9ERAiXwgU8d6MmHPCAxkCucjyC X-Received: by 2002:a05:6102:8023:b0:48f:a76a:7d with SMTP id ada2fe7eead31-4945be0c65fmr26328174137.18.1723019770809; Wed, 07 Aug 2024 01:36:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723019770; cv=none; d=google.com; s=arc-20160816; b=NmWhIjFwJlX5bM+ZF0Fnckbjzhmwqooq1QW0DK45Uh3Rfd5IsrA6fC4pUzxtlJZU+u 8I9OY9eVxoWrQa2ia11+TUq07Seau8i9HyqQ1i8faSw4CR8VLrgJvWM3Cu3bvwxA+IzF UP7uHtBNUnFCb67VDW0F8y+vtTWb8kSwt9/vHUVQNVXVyolqNZY0+vtcLgzZ2Bt4SDQe Y0L03xWjRrEibv/WzDfwuGvXWthCVxsSd1za5/Gk7bwEwH/iSXOo8Ta2TRb5tlqlCBR+ HXT+gOwJk9iHQjqj8lMHizo6G3VBj3LljQ3Kfz5sb2MgG7uLMgFRp8j+rofxx9uN+vAk UT7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=x2VGju5Eu0OJpSsrhobgPWGCNyayfyDXDVJziFmSvGE=; fh=ywvbD4ylErzoB2IlWnu3L0NLvq9GVVuZHGzPWx3FgPM=; b=bTxXU4prFuqRHiokT/xphkvS0KhhjlFnQBTm7zp/7ShnOZgU89QwPSazC/YvhUB1AA DCk4td7Wc0z4TBoFfbghNEwn/xBUKH/unOfTfL68gzQzyc8R3yQpdojcaQnHr0e/gT5F +EnKKSurNJ/r1uarj0nM1yT8Gd3nEXMwWBiPPQc3qRBlfFD5Ki+ss27EIGcVdWu/oeXA Y/So1Px7Nt4YTYh5MD1e8yPjx9Vf/4+KL1L+drCEdUix1RSRKWcTFxEEUrw5p0DegxCB vvsqt+JqQ1pIT6Fcu9N++SZ9A0so5EMTzh0wFCQ+aSUpXSAk+HNXk1lLPoc2kxGihc9p YSWA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aGzXPP7G; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6bbbb8efe71si12779346d6.390.2024.08.07.01.36.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Aug 2024 01:36:10 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aGzXPP7G; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sbc8d-00075S-9L; Wed, 07 Aug 2024 04:35:19 -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 1sbc8b-00073O-D0 for qemu-devel@nongnu.org; Wed, 07 Aug 2024 04:35:17 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sbc8Z-0000kq-Ig for qemu-devel@nongnu.org; Wed, 07 Aug 2024 04:35:17 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4280b3a7efaso9965765e9.0 for ; Wed, 07 Aug 2024 01:35:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723019713; x=1723624513; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=x2VGju5Eu0OJpSsrhobgPWGCNyayfyDXDVJziFmSvGE=; b=aGzXPP7GLImf2NnjjbI4LumIg9uUBK8BWD6pWa7AnO0WaohoV4Tr4G5urJlltgNHXZ 62UYztY4kHodyGZsJJyWggCbhbuvpiRtP+m6RRV2cq1WYkK/3kMLmImg7BYECOKLH8I8 MnUBKP7PB3NJVM4uYxsp++57PTMtQC07zr1dja3NCmHYntkyJpeYWmnmPkWq8oKAgOtu iCKW5jbiAbVwanArEqWRf4Qb9pjOsPnHrVmYGq8SJB5FGFUhc/j5hzf4cs7dq7KUcUq+ 5qR4OJoxtWYd313uXdS9e5kAG6dKHtJ8V1crUSU37Ss6E2V4fRFC/cyxCyOWoXSPJJ+I DlWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723019713; x=1723624513; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=x2VGju5Eu0OJpSsrhobgPWGCNyayfyDXDVJziFmSvGE=; b=TUSQWR28ipf9zT81cMz4is+EY+ZPmDHJAHeiHWD8oaMs0Spo7gEYKEkYkAZPKZXB9/ LefzBP6VsUHT8TvsOxZUKr5XNjTT1/f2BPSbMH5X0Ty1kHPvwjhypw7eqTdrGQUgHZyS d6+lJpWX9mxNI/k2LxBx9sJRtkkoKIg/fXE3Biy+wCnZXLOpiiH+rlWZTWfHuQPwmJMI raWSHLzX1/txNZH49DNTUPyax/PPmW9YBANqjFKLiqAqzlJ8GPd4hq7JptqWbh4YUlHy wINBiykOI/izGIWx0wViqD9F17edHpRq0uOmNVBNCM/4GTEjodGTuPRXRpN44I/5k5M+ bicg== X-Gm-Message-State: AOJu0YydZ8cgdHkgrSWJyCoKpiimf39af880baAMgj16vqJqxMDV92GJ ZsI2U/3oE2WhG2oIctCCaSSDAr8FQBxo0HbGm9Ue/hkHoj88daLQZARKeX34RuQ6MAGQ0/xiIMa o X-Received: by 2002:a05:600c:4746:b0:428:1799:35e3 with SMTP id 5b1f17b1804b1-428e6b2c884mr113000675e9.21.1723019712630; Wed, 07 Aug 2024 01:35:12 -0700 (PDT) Received: from m1x-phil.lan ([176.187.212.120]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-429059621d1sm17388815e9.10.2024.08.07.01.35.11 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 07 Aug 2024 01:35:12 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Laurent Vivier , Zach van Rijn , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 0/3] linux-user: Trace sendto/recvfrom Date: Wed, 7 Aug 2024 10:35:05 +0200 Message-ID: <20240807083508.28134-1-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=philmd@linaro.org; helo=mail-wm1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Strace format added while debugging https://gitlab.com/qemu-project/qemu/-/issues/2485 Philippe Mathieu-Daudé (3): linux-user: Display sockaddr buffer as pointer linux-user: Add strace for sendto() linux-user: Add strace for recvfrom() linux-user/strace.c | 38 ++++++++++++++++++++++++++++++++++++-- linux-user/strace.list | 4 ++-- 2 files changed, 38 insertions(+), 4 deletions(-)