From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AFFDBC07E97 for ; Sat, 3 Jul 2021 15:35:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8C1FE6191F for ; Sat, 3 Jul 2021 15:35:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229907AbhGCPhy (ORCPT ); Sat, 3 Jul 2021 11:37:54 -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)