From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 654CAC432C0 for ; Thu, 28 Nov 2019 21:37:17 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2E4ED21775 for ; Thu, 28 Nov 2019 21:37:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="l2diZEub" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2E4ED21775 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:53411 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaRTQ-0007jA-C0 for qemu-devel@archiver.kernel.org; Thu, 28 Nov 2019 16:37:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49570) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaPpO-0005iD-4F for qemu-devel@nongnu.org; Thu, 28 Nov 2019 14:51:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaPk4-0005JE-IX for qemu-devel@nongnu.org; Thu, 28 Nov 2019 14:46:25 -0500 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:35377) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaPjz-0004ws-J6 for qemu-devel@nongnu.org; Thu, 28 Nov 2019 14:46:16 -0500 Received: by mail-wm1-x341.google.com with SMTP id n5so12783154wmc.0 for ; Thu, 28 Nov 2019 11:46:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IRVTInMXYNny+d2XbwLly1VhzTFHSv6cJFpyW+0/F28=; b=l2diZEubO/l2iDjhioYjc/UeoY9rFoecLavT7xxOykKZK51+375s+E2s40lTP7Wya5 4AQxwX2SwPz/qnIaM2W2SKk+mPomHLXHciZcLjpJoupjTRsdgr72StnS8Ie7C0eEPv20 Z3c1dmqNVFFnexpaaXjhAMzO37B4B271twe30aPZ3xHbGozvDSWTfd5zfYvOaa/c6ndW hwdCkBLqmB+KBD7tQRTs9TdaIdm/xtNyX3ck3tzgK5/EaL0dYJ/Jti8L4LLPI4vf9EEh ilJ7kTuxN19EiOKyzW4kt/zqYoKvRa60kgUd9i2fy8KdqEXJRrW/LuGvL6nswT0OfEAo 10kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IRVTInMXYNny+d2XbwLly1VhzTFHSv6cJFpyW+0/F28=; b=AE+jrf1ob04LLbNtyE0v0tc6arEmuxRgdbWElGknLEXQky+0us9MpTUMXn86t3NyKT Tq0K25YAYFDcdNvJK9m+5+VgVlKXEkxzNwhJxuVkOfmKCuIpVX91ND7HvEtH1TnxMdfE m4kLnE+SArETSoQkSqcNW8Z8fu3OwcVrE18fomrU/8//CUwspFQ/5OCxV+glKtp6FBtg 7RSRPJ6Eem1Q6cKdiMrmZtVVkoDxA5eG2958FFD7G5fb3wJZLOmWH6q23Nlz1hruQSa2 Y/VACWXVR+n+apOp3Pg8wnyFbXwJYE0mOaoBnzw0QFLBFFJxgefMK+0H4h7fHJR7eDXV +P5w== X-Gm-Message-State: APjAAAVpVR9SNRCfFZe5eiZHooTVU3/+VmAM7yvA76Wq8/7bNQT24pBJ PDgt9tNrDSpJ10/ISBrs16EdWFP6+KE= X-Google-Smtp-Source: APXvYqyhfPIBcnM363VhHv2ial+SFBJefdf1jLrnk0Tpr8YjRwulEBQeeKpsN3eshEYnbmRePt1tCQ== X-Received: by 2002:a1c:6707:: with SMTP id b7mr7634297wmc.54.1574970366842; Thu, 28 Nov 2019 11:46:06 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id n188sm6496991wme.14.2019.11.28.11.46.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Nov 2019 11:46:04 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 76EA31FF87; Thu, 28 Nov 2019 19:46:03 +0000 (GMT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 0/5] linux-user mmap debug cleanup Date: Thu, 28 Nov 2019 19:45:58 +0000 Message-Id: <20191128194603.24818-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::341 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: =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Hi, While debugging some wierd ELF loading bugs I realised our mmap debug code could do with a little clean-up so I removed the DEBUG_MMAP in favour of some tracepoints and extending the information that -d page gives you. Alex Bennée (5): linux-user: convert target_mprotect debug to tracepoint linux-user: convert target_mmap debug to tracepoint linux-user: add target_mmap_complete tracepoint linux-user: log page table changes under -d page linux-user: convert target_munmap debug to a tracepoint linux-user/mmap.c | 82 ++++++++++++++++++++++------------------- linux-user/trace-events | 6 +++ 2 files changed, 50 insertions(+), 38 deletions(-) -- 2.20.1