Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2434103pxv; Sat, 3 Jul 2021 08:36:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+bUDF8p9qfFmbqawhE7wdso8xebM1o1QMq1Km7S9oNtPaa1dMKf2n/gue9ZR/2xsCZcp4 X-Received: by 2002:a17:907:94cf:: with SMTP id dn15mr5305092ejc.476.1625326600281; Sat, 03 Jul 2021 08:36:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625326600; cv=none; d=google.com; s=arc-20160816; b=u0lqwKjY11UDWL8pMCrJKF7tcNKAWt7Vdq0RwfOGZvrbSclpkm7gDGhnvUx6vMSB6i 4Q7pwKN+3GTMRcxQiOazZ7Qxrui5uxQ17JY7cwl7/gMgk9XxvfUUcmXd0y49e/E8t30Y Oi2qCZCOrVfMkhWjn1iCKDNEDR86xaN8Y/+RRM+82nNFmyLNaufucQZ8R9Emcnc9SiWA yLJVzz8qYXyvfwII+Gf3EYoA+oRwDxkV6N/21DT8SXYp8J1PLIriMkd8+eDAp5x7GwoT k9xDHjEL4Jp1JO/YORRCEUVNtixeviwY1P1CS+UoJI+nuHOEW4BRikbY9tvAS8P6z02g nmpQ== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=QDUkSVW22hHgrJ+sh8SetlKIUk69iGGejxh+woBnY8c=; b=PjLAkn0VF2W+RlDVbI6aIiCzJncOksuQ3HcWk8PBovNSJbC+8kULL960GSjAI+Ve9T xaj9D2vKpl21HP4hcFS2fUTH/0beGD0hs+4t84iYqTvmfhJVnB+6URI4dQyLjOUy2po9 73433JflI3W8IND/WxPMz8JSGYOij6BHsV6uJaYJEhlmDoInnQPwcQen4xKypS20jAin roOzTikRkWEsSFKdHI5za5OWjTHK7v5E9ZacgzgFDvOje+Nzp5I36Ocp7CPKw7O1VaMl s0v/akhcLDUT2fcQtLFvvmDnLLcl2OLMfrV8kdugRPp/U4wNyE/+dETW4QY4xZb9AiUO x9sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H6BtUlDb; 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 hs12si6314960ejc.115.2021.07.03.08.36.16; Sat, 03 Jul 2021 08:36:40 -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=H6BtUlDb; 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 S229865AbhGCPht (ORCPT + 99 others); Sat, 3 Jul 2021 11:37:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:35924 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229598AbhGCPhr (ORCPT ); Sat, 3 Jul 2021 11:37:47 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 38FEE6191A; Sat, 3 Jul 2021 15:35:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625326513; bh=btGSEvmjT5RSA0+cEdxiKOWCCVHgdEkOppfJ2GhWhFs=; h=From:To:Cc:Subject:Date:From; b=H6BtUlDb+2fnWllM38lznikdehqETscc3XhFUTeAqJvcWAmV32V4VXUgThi3pBrQj /5FOIFPCLqyKRRio7IawZLIrziGCd26tEc6tk/ANFSbwQH91e4vjJcCeuIJz/AYdIN +s2vTPrqNA9dRIDO2glfMwcd7CGLsJH9/kRBseOQie6EzD6PdujW1OWBk7+JrHCLtm J0x+SyH7JAdw3NmsK4l/hX8egH3ppirmKslfRLHQeDVZbfrYtCFMsP9zB4RxD6tx4P RGwKZ3prgkDJFy8JA7Vr+CRKtYynHiMBmbrt3p74uzhA7IB7QkBAZUuXLC7uzXa9oz IAlDM4Jk0m0Vg== 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 0/3] perf: Fix perf probe for Fedora34 glibc update Date: Sun, 4 Jul 2021 00:35:10 +0900 Message-Id: <162532651032.393143.4602033845482295575.stgit@devnote2> X-Mailer: git-send-email 2.25.1 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 Hi Arnaldo, Here is a series of patches to fix the perf-probe error against the Fedora34 glibc update, which moves most of symbols from .symtab to .dynsym. The key is that the "most of" symbols moved, but it still have some PLT symbols in .symtab. Thus the perf symbol-elf failes to decode symbols. Here is the original report from Thomas about this issue. https://lore.kernel.org/linux-perf-users/f6752514-eaf9-371e-f81b-0d9e41ebae0c@linux.ibm.com/ Thank you, --- Masami Hiramatsu (3): perf-probe: Fix debuginfo__new() to enable build-id based debuginfo perf symbol-elf: Decode dynsym even if symtab exists perf probe: Do not show @plt function by default tools/perf/builtin-probe.c | 2 - tools/perf/util/probe-finder.c | 5 ++ tools/perf/util/symbol-elf.c | 82 ++++++++++++++++++++++++++-------------- 3 files changed, 60 insertions(+), 29 deletions(-) -- Masami Hiramatsu (Linaro)