Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp99103lqp; Tue, 21 May 2024 20:36:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWaR3kaONL/6+d5IF/mqoUQAWKX1yv5bziO/N4mVSxSys/RxuepXGy33RiJUYmFVPhwVkCa+kmn8oUzwjR+qXmXkTPL0J8/lK13OBZW7Q== X-Google-Smtp-Source: AGHT+IHM6qiWi2BN+QoyyPKp7xORimqdBJ3S4A1FGV9NjF/HUpyvoofpgC3LRz9OwfFzHSXsfpYf X-Received: by 2002:a05:6808:8e5:b0:3c9:967b:918a with SMTP id 5614622812f47-3cdb4610cdbmr987709b6e.19.1716348995284; Tue, 21 May 2024 20:36:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716348995; cv=pass; d=google.com; s=arc-20160816; b=w8kfGVGK0Lrn9H/RVNBz+pLkbayaPEir+qesR14YKTJs2yB8NolElniUcwpC+FKevu DX6y9XvHmg81TfvTQtK8eURUm+33J2/gjbSX4Uh87dgHrU15UTkaNatjgHtz0h1NuXPu whRHpt8AUnxiFk0TwjrYYuLrALkKoTSZy8D10Kn7mnUqZLjC2H0CL9Ev3/wqZRJHzRgl 7XRzgwQQMr+EXPtnIDbsNWtq8cjjWkP/g3jPhbu/UQ+JczC01wpq/9PvDrhEWOdjAFOy iyCR+PlSwmHFykHRDUZ4v8n6oSPbsdmcBKoSaTFsjpIBNDfHPXV5Ng6ZHmzIzDYaJkse zm3w== 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=OizbwzmjPup2MRTxdLnh8l2RljC0hu/qXhgbo1v8Ptw=; fh=XwBvdQQTkYoNB7v5rOVvEg+j2lphfRJuZlgC8Q0lImg=; b=R2J3mYY7+MXSDtjGb0WJTDBelofXvEmlAm70PuIoMAuvIcwFha87H/JTIy6S+/LOnY M4wvKqs2lPtNEL94uw4JHxMFRtODlvexYd/16w3cKM0WD3/0yHVvl441392iLKT/NiyT 1KFZSgJ9Qw3/pLS1Hy5Mgd9KPhItB+tOKXKkeeDt+N8rVELWkYK2ooEFSh5JpiPCTKxI uuH+7sE9Jdc0N4VidLABhTPc/MJGYJIvUZe4XwLzrsh3LHT2uTFwwu45PpKuduO/3sqv tv6atNVcX2Tixfs8kO9hpdGNzeCCS3fSlw9kxG8MIpsa6Vnzbgbo2rxNw8IKsnMoesb/ +dSA==; 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-185725-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185725-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 d2e1a72fcca58-6f4d2b51886si2842424b3a.393.2024.05.21.20.36.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 20:36:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185725-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-185725-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185725-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 2966C28366C for ; Wed, 22 May 2024 03:36:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6136C74BE2; Wed, 22 May 2024 03:36:05 +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 50A1859164; Wed, 22 May 2024 03:36:01 +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=1716348964; cv=none; b=LSSvbLQrV7MKNTZ9BKlZh+2cWdkEAHkWERJEI53Y1Rbc72y92EkbA0FenhZS46VxU8Vyt+uXMiBjrVdkAIBq9jOfdxQaz+m5Vx7iUMuVk+orEAYc+WOtDeptE+i60WyXIa2wFtlNPUcw2L0dhMze4hJc4Qib8jxFbk9fc56ySKo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716348964; c=relaxed/simple; bh=sjpKKp9DX4G/NY3q5VzNPZB2bVHY8cy8J+6ci3Tf/JA=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=RcxlR3G8qmwk7KzX0bqey31CTOH5VfxWbfXbhSYpk/Bq16AoFNm7AfNsJrKscc5NMzUNAMFwY8Mc/A4jGqbwS4mNQZT5J+bUC0HcBLuLLvDnamktY9rGlE14JKJ/ak991GVdpWP0NAYPtB+inx+oatGkA66wZadMUoM8foeZB10= 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 4VkcLV44GRzxPfR; Wed, 22 May 2024 11:32:18 +0800 (CST) Received: from kwepemd100011.china.huawei.com (unknown [7.221.188.204]) by mail.maildlp.com (Postfix) with ESMTPS id A783F140382; Wed, 22 May 2024 11:35:59 +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.34; Wed, 22 May 2024 11:35:58 +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 , "Liang, Kan" , , , Changbin Du Subject: [RESEND PATCH v3 0/2] Always show mmap prot even though PROT_NONE Date: Wed, 22 May 2024 11:35:40 +0800 Message-ID: <20240522033542.1359421-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: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemd100011.china.huawei.com (7.221.188.204) 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) 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