Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1389706ybl; Wed, 28 Aug 2019 14:02:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2y8Lwc0Lmb8znvRgl0CmPb+a/yMkjDdwBS6iVZXbwMyg6qYZ/M5RINI0zWAwYGDt32zUp X-Received: by 2002:aa7:8b46:: with SMTP id i6mr6870638pfd.190.1567026121588; Wed, 28 Aug 2019 14:02:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567026121; cv=none; d=google.com; s=arc-20160816; b=MezJJsIxdSB+aHKTExzvn/Z/W7sUp1B1QMlgTWR39T+OVsBAcZ6DN+XWWjYv/DtMLL xBdzDPLKnMBP/XhHqZiawAmN/5WQBZkieKBWvXDzRccHL0Sl7aSP2Fj2sThnO7d0HLX4 RJeNsaB3FWFedKq6A4YAECJV7FPDxrVlQ6logTiVWUPug64vxsJCkQl72SjYwYHoZstt OQqkd/deW2s+iKu2cwvZ9rWRVTEvnYG3svvlF+kl/QNyGmRmB/46U+YkFwehMnL+jUCk L5h6o2w7OtMgevymG1H2Om21obwOe1RMo2pvzg5msF+I5bHag4znOZ297uUj7W7l4iwl dMFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=mwIgPQ0U3pATqGjKmjCsEUAR/LGRI1zRVmHzmqKpcRg=; b=ul4nTpKQSlFwZM1cDxIhz3xVjQPRDPIEXGnbMNRalnn6esHb/NlSS+bbu5nFwnBl6X 3e3bNXwpLykdeiuQTwkBqA+pgwI+BYP6TFPg5/x7mq89bDnCPMV/PC1M8G7dkpfCGVGZ lQAnTfgK2TMKFvofhuiNaK09l6neH7mG9MMePeY7t4DXhzpVyMRsF8XZKvJGn2BksKJ7 aXsSjAoafoF4kNNJSZagEXKSdYC0nYQgNwir8z3vr1slQphDUV9OhRlFus6WbRxQAb/T CbRCRx+1BO74Xxv5CZfRFcFFYbRiTU2nEhR8jqRV1lJq7/YdwJ536OmTKm4YuK4zcTrS pE3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h2si166193pgl.69.2019.08.28.14.01.45; Wed, 28 Aug 2019 14:02:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726861AbfH1UWM (ORCPT + 99 others); Wed, 28 Aug 2019 16:22:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54912 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726687AbfH1UWM (ORCPT ); Wed, 28 Aug 2019 16:22:12 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2398A308FC20; Wed, 28 Aug 2019 20:22:12 +0000 (UTC) Received: from sandy.ghostprotocols.net (ovpn-112-34.phx2.redhat.com [10.3.112.34]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4B04319D70; Wed, 28 Aug 2019 20:22:11 +0000 (UTC) Received: by sandy.ghostprotocols.net (Postfix, from userid 1000) id E5D50119; Wed, 28 Aug 2019 17:22:05 -0300 (BRT) Date: Wed, 28 Aug 2019 17:22:05 -0300 From: Arnaldo Carvalho de Melo To: Mathieu Poirier Cc: Igor Lubashev , Jiri Olsa , Alexander Shishkin , Alexey Budankov , James Morris , Namhyung Kim , Peter Zijlstra , Suzuki Poulouse , linux-arm-kernel , Linux Kernel Mailing List Subject: Re: [PATCH 0/5] perf: Treat perf_event_paranoid and kptr_restrict like the kernel does it Message-ID: <20190828202205.GG2053@redhat.com> References: <1566869956-7154-1-git-send-email-ilubashe@akamai.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.20 (2009-12-10) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Wed, 28 Aug 2019 20:22:12 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, Aug 28, 2019 at 01:31:21PM -0600, Mathieu Poirier escreveu: > On Mon, 26 Aug 2019 at 19:40, Igor Lubashev wrote: > > Igor Lubashev (5): > > perf event: Check ref_reloc_sym before using it > > perf tools: Use CAP_SYS_ADMIN with perf_event_paranoid checks > > perf util: kernel profiling is disallowed only when perf_event_paranoid > 1 > > perf symbols: Use CAP_SYSLOG with kptr_restrict checks > > perf: warn that perf_event_paranoid can restrict kernel symbols > > tools/perf/arch/arm/util/cs-etm.c | 3 ++- > For the coresight part: > Reviewed-by: Mathieu Poirier > > tools/perf/arch/arm64/util/arm-spe.c | 3 ++- > > tools/perf/arch/x86/util/intel-bts.c | 3 ++- > > tools/perf/arch/x86/util/intel-pt.c | 2 +- > > tools/perf/builtin-record.c | 2 +- > > tools/perf/builtin-top.c | 2 +- > > tools/perf/builtin-trace.c | 2 +- > > tools/perf/util/event.c | 7 ++++--- > > tools/perf/util/evsel.c | 2 +- > > tools/perf/util/symbol.c | 15 ++++++++++++--- > > 10 files changed, 27 insertions(+), 14 deletions(-) > > For the set: > > Tested-by: Mathieu Poirier Thanks, updated the patches with your tags, - Arnaldo