Received: by 2002:a05:7208:2202:b0:86:316c:7444 with SMTP id s2csp672295rbb; Fri, 31 May 2024 14:22:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW/C/O887SGo6W1+VOHo2Wxt2NFD20npdBG27z4yiE3oMKfg3G7cU+2OvmELE45s1ETuhQMUvouQmq+VFpkhdE5a0AFwhyDptDa09bvbA== X-Google-Smtp-Source: AGHT+IFWIMlsFUuBCp0Nkk7Uts/uxVT3Hzmya9WxJTeB6Khymbmz+VkfTAYO56OH67at/PPC1YFQ X-Received: by 2002:a17:907:f8c:b0:a66:3091:4300 with SMTP id a640c23a62f3a-a682022e61fmr183467466b.25.1717190569942; Fri, 31 May 2024 14:22:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717190569; cv=pass; d=google.com; s=arc-20160816; b=yzsTPoU91VxnbJYRXlxN8RSvgDzcRU0jYZo9GnSvKHe8xbPjsqWxtTIiXPvZw0+s5i Sprr3mQE/GpYCgs2cpNJgruXWtz6CQrCACb/iMgxoEY15R3KFsYstBFPKhf/jqS6ZSuA VmQlVZT+AbPxQ4oIRdD9NYTMtpCQw8VkrhcSJUVkqgbPHrMuiwazvtQOuU6WEVQ4iZUs 4dU5rO4tbWGLVlg+wK5TD6hUvKjbcf699LLaCTREL+xo6Ckx9GgbPOjgmHA7gwmTi/Wt qQzo8KB4VUmLdgaZ1Q4vk3K1gQmg8sdU51AMJyzB1ujljLHrZpq0xzW2UKyeaix1nXWy kcSQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=VUwd7j4SUlcWiQyp4lHV+deYpOo2g3h4mw3M6AY+lP8=; fh=jCeuB93JOHM3Zhl6s2CTDcKEVENGVh1T5j/oy3XDcb4=; b=S2x0MdSje2DOfmXnH5csVezTMi1Q3GttrMLXBLkyyxM4iy0byUFebbJwYQ/ekpzwAG WjtO2W5r9XCyhtQKTOxW+stbumdghTuuQkBFmDwBUEbRIZcTuZsVVWseAKfR8r5iXUXi oClYxmYYbuI++bn412jFKPj1PJiRtN1fR0j4lOdaabmazL38wJXO4bgKldtOev+SW2H7 tbUMvNmXRbuTnmyohYsCLaqMl/Az0rdEdWZ0DNXJ7TM1uhuJ3GlK/GuZtZSwVoM0sBax alr05bJO6C79xh0qDwNGTjwOzyxeKrCT0pMcOuW9pTo5WRQ07lnKxOvmiIcSDPF2DSKY Ad8Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pe2xJwua; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-197489-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197489-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a67eae69a95si132454466b.703.2024.05.31.14.22.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 14:22:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197489-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pe2xJwua; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-197489-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197489-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D17F51F2ABC0 for ; Fri, 31 May 2024 21:13:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6C1FB78C8F; Fri, 31 May 2024 21:13:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pe2xJwua" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8DA91200B7; Fri, 31 May 2024 21:13:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717189991; cv=none; b=hqw+Gtl5ORUuxdNjYEwZq/gPgEcfqRAO6hYG4YkdqwORXLv2gkE8+7CDxbRpj07SCa3L7dIRZUtjQLE2EWJZrMYs9YX9/0an/R3+YP1pihZbqX/a8EWNOKLDOlUJtlngLsZWjhtVHlOh3KrU0iRq5u6YcmE/XF+m+h3Gu5DVtQc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717189991; c=relaxed/simple; bh=q87t1fyI81/pnxHXVoZD7reYrMZyoN6TiS1axuFNJXU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YMaAlF3vJWrwiH8/ICK8TUGtMd2pOTlAfpRn6ox4UBxJYd8SGAy3GGtXV40qimGMCLonUbVqrk/1SskQ9mY7Ji7+6bYBRjjcJP2/fqeYsBEk4xUlsolt2dVUWkuTYpK/eM5JPMFHug10avrwq+qUl7tI/BxgFAXydSp/kTj/cS0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pe2xJwua; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C47B9C116B1; Fri, 31 May 2024 21:13:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717189991; bh=q87t1fyI81/pnxHXVoZD7reYrMZyoN6TiS1axuFNJXU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pe2xJwuamwa/dQKxOqu4BhE5A6mUs5qG1ZImePDO4uD0jOAIM9ZTjDeRGWRClZATP Cw8miAiMavv81KFN64fzbCU5oRYflY11KvW1xRr7bvaSRE9wGzcImu+4go8lzDHdc+ JGQMHk21Qh6DsZyb+YDKp0GmicPqOsFNWI4WcqS6nhgJG7UzPBf4ob8/i2Gh/IRApZ Y5+L+mG3ymEdGhHRdZGHMLL4zytyxYpjCGsZfWGESPk9tVFT+wtYuL76XaOXxrK6XZ YvqdXobrqqpAXGb9SiUZKQv4CHtuUFiZGFd64MTVReMo9ZdqCUsAaicfxDm6E9j4ZR BVfvdyTcgfbyw== From: Namhyung Kim To: Arnaldo Carvalho de Melo , Ingo Molnar , Changbin Du , Peter Zijlstra Cc: Ian Rogers , linux-kernel@vger.kernel.org, Alexander Shishkin , Adrian Hunter , linux-perf-users@vger.kernel.org, "Liang, Kan" , Jiri Olsa , Mark Rutland Subject: Re: [RESEND PATCH v3 0/2] Always show mmap prot even though PROT_NONE Date: Fri, 31 May 2024 14:13:03 -0700 Message-ID: <171718991316.2179562.5066672693392732715.b4-ty@kernel.org> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog In-Reply-To: <20240522033542.1359421-1-changbin.du@huawei.com> References: <20240522033542.1359421-1-changbin.du@huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Wed, 22 May 2024 11:35:40 +0800, Changbin Du wrote: > Before: PROT_NONE is not shown for prot 0. > $ sudo perf trace -e syscalls:sys_enter_mmap --filter prot==0 -- ls > 0.000 ls/2979231 syscalls:sys_enter_mmap(len: 4220888, flags: PRIVATE|ANONYMOUS) > > After: PROT_NONE is displayed. > $ sudo perf trace -e syscalls:sys_enter_mmap --filter prot==0 -- ls > 0.000 ls/2975708 syscalls:sys_enter_mmap(len: 4220888, prot: NONE, flags: PRIVATE|ANONYMOUS) > > [...] Applied to perf-tools-next, thanks! [1/2] perf trace beauty: Always show param if show_zero is set commit: 92968dcc037fed045dab5c8e52b51255d77f5432 [2/2] perf trace beauty: Always show mmap prot even though PROT_NONE commit: f975c13d2a34a335fc559aeff76dcaba456cced0 Best regards, -- Namhyung Kim