Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp653998lqa; Sat, 27 Apr 2024 20:10:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVD1elA2zbM4vhi1/+saTo3oMQTJCjVgFFG9f+z4mYDws64TPIJmeG5odxNv2G2bKqIWihJPymQ+mEU3aYFeQMaHzwKmu4hc4aeYhJ+2w== X-Google-Smtp-Source: AGHT+IHDtZplpLxOXTnOTlfXGTYrkdGSK/5J2j3+xGY71zjzyx8MrqnVjSJFJpo9XmMx8iE1a+5T X-Received: by 2002:a17:90a:c292:b0:2af:9d00:e813 with SMTP id f18-20020a17090ac29200b002af9d00e813mr7131200pjt.5.1714273835744; Sat, 27 Apr 2024 20:10:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714273835; cv=pass; d=google.com; s=arc-20160816; b=IHoLwIfDE6wXp0eiQpfo8f61svZagmLUk4DN/CRsB+drjcjq/Zi10ZsXtCHJPQ/A+c sCj5JrYBm69Ac3AwXdWixUUovMAegp4cOqHGEvc1N74kyyr9KRPou0Yf3SLnt10mGmf/ MfierhP5sCAlY4bTbBrBgnUwkMmpPWn9Rgenke9a3kMpLTYQ/3YnPP9+3dc3y4dKR9Vi gDdoRW9HlteKpHiyrVGtvu/XeUnXnUSaJdLasfPjJwOyWo7UfJyfLIf3otpI1V5Y1lB+ 5QnTTx3sgw16NB+4d5owMW5ceBwK1ziI5LOWxKj2Qugi3KMb/hWBTGumETL3Y/JIhiuv U+MQ== 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:message-id:date:subject:cc:to :from; bh=P0D9noS/9/w89sxJW9gJ/CyEJf6A/E1Vi4AEdga8sr0=; fh=qYBgL0xDXiZbrLeipx8X/fz2jSxMbqgYzzneIVPF86s=; b=sdgK1Uzs6Mug3DRRgbnJleSsb5hDITAD299GGpWxTTLQmFaT0TqxcaBKG3Eb+iN6zH iw7S8yN16WMfNOj4BUf13e8zwCeXzsd6VN5MirceqmpflVFo8deQQd9ab+8xBCL4n7iJ 6IOKJxv3fiIyaWozsG3glQfPJglvuy8NUZSrDmMSH72TgXIU4apIadADuY53IGOyFDPl UM1K9Z89bK/NKGVuW/9Pl0Ax64WlhdTLU57jGALgslHEr3l/ixB1ygepEYBu8M+4m730 OuC23fBn37sQfEx738R8W8833SAEyS5khvZrhkzQKn90irNkQLI0LtUzeTa91P5KXFkM ZkJA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-161236-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161236-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h21-20020a17090adb9500b002a7df043379si17747040pjv.50.2024.04.27.20.10.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Apr 2024 20:10:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161236-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-161236-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161236-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D443F282507 for ; Sun, 28 Apr 2024 03:10:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F3593D72; Sun, 28 Apr 2024 03:10:23 +0000 (UTC) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (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 81B6815A4; Sun, 28 Apr 2024 03:10:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.187 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714273823; cv=none; b=H1Pr3M2GSiJHmaK6BtFfOMBqiAAvyEsY9pnUTO0MQvjUYvljDmb+AIFFC/M/hdV24uFPvyRw7mYLqvETOr88PYWSdyNosbP/iaUJcJcyPalMQuuws6b6uT4y/py3q7ZbrU/iUbZTDnYYz8LCxpJ+K/Jb2RowiqeSTre8dJlc6D4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714273823; c=relaxed/simple; bh=1kXjQv1zzXklHU3QdpFzHUuhb9Ork7YSOhMFwJA2S4g=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=aBLJGeIqamoiT0sC9ZXFQbbmKM/1NWaJfpcLIWDf1bmAJEc8pRX31b7bLLk3bSWYwI9sfLWXv0FcMBC/TQf+DZ6S/0f4kZqfn6m/ID0zpKIh2DG5VlV9TgHzcttRkC8jsyVslr1J6Z2QU6l9UAwgRZpK4n9Eedq3ZQ9XQsO4Dcs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.174]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4VRrwb05xkzvPqy; Sun, 28 Apr 2024 11:07:11 +0800 (CST) Received: from kwepemd100011.china.huawei.com (unknown [7.221.188.204]) by mail.maildlp.com (Postfix) with ESMTPS id 8143A1403D1; Sun, 28 Apr 2024 11:10:17 +0800 (CST) Received: from M910t.huawei.com (10.110.54.157) by kwepemd100011.china.huawei.com (7.221.188.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Sun, 28 Apr 2024 11:10:16 +0800 From: Changbin Du To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim CC: Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , , , Changbin Du Subject: [PATCH v3 0/2] Always show mmap prot even though PROT_NONE Date: Sun, 28 Apr 2024 11:10:06 +0800 Message-ID: <20240428031008.1535765-1-changbin.du@huawei.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemd100011.china.huawei.com (7.221.188.204) Before: PROT_NONE is not shown. $ 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) Changbin Du (2): perf trace beauty: Always show param if show_zero is set perf trace beauty: Always show mmap prot even though PROT_NONE tools/perf/builtin-trace.c | 35 ++++++++++------------------------- 1 file changed, 10 insertions(+), 25 deletions(-) -- 2.34.1