Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2435795pxv; Sat, 3 Jul 2021 08:39:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/+0/ZKQL47qBGxqwLCrLm9q4x8Tl2+pQAgNQwLff8DAXulaT9tLIyRmLGfSUsP5gePANh X-Received: by 2002:a17:906:fad5:: with SMTP id lu21mr5306047ejb.469.1625326785808; Sat, 03 Jul 2021 08:39:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625326785; cv=none; d=google.com; s=arc-20160816; b=Jv/LlUyiY1cKz1LyPPeFHAVQDSohPbirCJWHCZi8QvmJb9/Zq6kZNvNkPwOJ/MG5ys JHr4ETSAqhZldqCbccaI4tqW/5mCD7yd9gSpkYA5gN1cHfYT488uw+vwm/NiDj82X4Jf 1s8X/u1fuIJPDgokwbz/Xof7H4OeHVexzG0VfVu1q/Z4DOL3A+Lbtrw6zRdCjfcGQPU3 yztNyp01fkTR6AMD4gYWA3XQMvZt++/+RVZzX+K52uTBJXfLRGLp8G+HkzvgnveqrJGi 4/tixX3dsoct8OJK+AJjv5+ICYA/Z9W9ZMW7Wv5grAY4QFPGUuNy8XrVTF51Lb2+egIs TjDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=REkygxTOHKedbnTitWUbzmIc1Pz7+jYTq4mhB2sm7Hk=; b=OmkLqhvl3kqdDL6ai8nA4SVoWDxGBJxImaKoMDItIOfC1ZbQtpsyIg8AP+4tug1Q/D OuSJox81Nuwj6AulySHYqHvdacjJInaTlJjSUf6N/aAvRKjxagca6wVNj8JWJLlIgJqM 4dsJyIKNcK57qn4oIEoecmKwHXzoKZmzupFgc+O/J81ZNA/y/Oko/wWd9TzswaUSqm3p mYKCSByXfpgStLftddrYwceDC+7ve305go2CRh44chVFOlcbKrNc1dVJiZYuGNwh2Shq JvDOw/LlemucsWj3yVKCgD4NxxdmL3ZGxQmUaJBt0eZqg/LcWPWApPoc5olHGnEkUMtp 079A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l3DosoVE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hq19si6963547ejc.92.2021.07.03.08.39.22; Sat, 03 Jul 2021 08:39:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l3DosoVE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229924AbhGCPiL (ORCPT + 99 others); Sat, 3 Jul 2021 11:38:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:36176 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230032AbhGCPiK (ORCPT ); Sat, 3 Jul 2021 11:38:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 00C9D6191F; Sat, 3 Jul 2021 15:35:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625326537; bh=BGau3C2faHAUS46desgOXcNYKVB792JQpCpQM4+fhnk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l3DosoVE6TVhnleSh+IOzwn+Nq6MkCjQoyvabppXYYfTNLbITAh2xWBhfPGsLnco3 P2tuN5EcarvyvuynH/QLkfrgogffqjYaOn2bXuFxSTqX0znOw42FXLGia41zwR5JK2 5ItHHouRFjBRUQpPukx1ymxjDFN7+AWbuYGPa5hQSuKrEk/sKSJVjeujupefAb4cxe sQGRksDM0R3j5fQcGpBMXwymPHD1Qtjv0fkjbz03I7I+czTE7Hh5TFGQ7jHnZ4CKUp uR+PESsX5sDBtFYSNhQAwkGCfPIcdzuZTYA6vt2MWTqNPoQ5eK4ChMUGb12b6oMCi9 asd6/QnvIR0Ng== From: Masami Hiramatsu To: Arnaldo Carvalho de Melo Cc: linux-perf-users@vger.kernel.org, Masami Hiramatsu , Sven Schnelle , Heiko Carstens , Stefan Liebler , Thomas Richter , linux-kernel@vger.kernel.org Subject: [PATCH 3/3] perf probe: Do not show @plt function by default Date: Sun, 4 Jul 2021 00:35:34 +0900 Message-Id: <162532653450.393143.12621329879630677469.stgit@devnote2> X-Mailer: git-send-email 2.25.1 In-Reply-To: <162532651032.393143.4602033845482295575.stgit@devnote2> References: <162532651032.393143.4602033845482295575.stgit@devnote2> User-Agent: StGit/0.19 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Masami Hiramatsu Fix the perf-probe --functions option do not show the PLT stub symbols (*@plt) by default. ----- $ ./perf probe -x /usr/lib64/libc-2.33.so -F | head a64l abort abs accept accept4 access acct addmntent addseverity adjtime ----- Reported-by: Thomas Richter Signed-off-by: Masami Hiramatsu --- tools/perf/builtin-probe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/builtin-probe.c b/tools/perf/builtin-probe.c index 2bfd41df621c..e1dd51f2874b 100644 --- a/tools/perf/builtin-probe.c +++ b/tools/perf/builtin-probe.c @@ -31,7 +31,7 @@ #include #define DEFAULT_VAR_FILTER "!__k???tab_* & !__crc_*" -#define DEFAULT_FUNC_FILTER "!_*" +#define DEFAULT_FUNC_FILTER "!_* & !*@plt" #define DEFAULT_LIST_FILTER "*" /* Session management structure */