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=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 578F1C433E2 for ; Thu, 17 Sep 2020 18:56:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 12392206A1 for ; Thu, 17 Sep 2020 18:56:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600369009; bh=xAk3qdsUbhtQaZ/9TR/OB0g8G/EgH0aSevHCNvrdDVo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=znM1cGZBGk4E3cGF/7sZ+Ka+CC5lBHMyXd2MjpmAZfInDyjphefcAr5hxu8e8HjcR iFEBZDqQyGAMdvueB1+FhXMZRcHymvqCVjjrWAPISsvGYWWlUOhHaehr28Bfx7BRZ1 N4oUq9N9fQOAIeIzmM6Ff3gkFTeVZ/Z8Npp5M9Kc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726262AbgIQS4o (ORCPT ); Thu, 17 Sep 2020 14:56:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:56560 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726546AbgIQSy7 (ORCPT ); Thu, 17 Sep 2020 14:54:59 -0400 Received: from quaco.ghostprotocols.net (unknown [179.97.37.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AFFB221973; Thu, 17 Sep 2020 18:54:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600368898; bh=xAk3qdsUbhtQaZ/9TR/OB0g8G/EgH0aSevHCNvrdDVo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Rvash5Aui1WJesHIICvfQDKy5zdvQ3e2Y8681vCTMOIBHVpLtfJrzOYEdRPKR218B iuvlfmieHHAe9v4b27VxxdNOstA/QU6ScmBDt3MmZnpg+TzMp6JsCuqtecH1Ypm9mZ jgIlRoqKk7uEnMf7Vgzj20Gp3Xa4CTIeSd6U1yTg= Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id E0DD3400E9; Thu, 17 Sep 2020 15:54:55 -0300 (-03) Date: Thu, 17 Sep 2020 15:54:55 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: Jiri Olsa , lkml , Peter Zijlstra , Ingo Molnar , Mark Rutland , Namhyung Kim , Alexander Shishkin , Michael Petlan , Song Liu , "Frank Ch. Eigler" , Ian Rogers , Stephane Eranian , Alexey Budankov , Andi Kleen , Adrian Hunter , Masami Hiramatsu Subject: Re: [PATCH 04/26] perf tools: Add filename__decompress function Message-ID: <20200917185455.GA1426933@kernel.org> References: <20200913210313.1985612-1-jolsa@kernel.org> <20200913210313.1985612-5-jolsa@kernel.org> <20200914153554.GF160517@kernel.org> <20200914204326.GY1714160@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200914204326.GY1714160@krava> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, Sep 14, 2020 at 10:43:26PM +0200, Jiri Olsa escreveu: > On Mon, Sep 14, 2020 at 12:35:54PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Sun, Sep 13, 2020 at 11:02:51PM +0200, Jiri Olsa escreveu: > > > Factor filename__decompress from decompress_kmodule function. > > > It can decompress files with compressions supported in perf - > > > xz and gz, the support needs to be compiled in. > > > > > > It will to be used in following changes to get build id out of > > > compressed elf objects. > > > > This is prep work, can be applied now, done. > > thanks, > jirka So, I take that back, one of these decompress patches is causing this: [root@five ~]# perf list syscalls:sys_enter_open |& tail lzma: fopen failed on /usr/lib/modules/5.6.19-200.fc31.x86_64/kernel/drivers/acpi/video.ko.xz: 'No such file or directory' lzma: fopen failed on /usr/lib/modules/5.5.8-200.fc31.x86_64/kernel/net/ipv4/netfilter/nf_reject_ipv4.ko.xz: 'No such file or directory' lzma: fopen failed on /usr/lib/modules/5.5.9-200.fc31.x86_64/kernel/net/ipv6/netfilter/ip6_tables.ko.xz: 'No such file or directory' lzma: fopen failed on /usr/lib/modules/5.5.5-200.fc31.x86_64/kernel/drivers/crypto/ccp/ccp.ko.xz: 'No such file or directory' lzma: fopen failed on /usr/lib/modules/5.4.20-200.fc31.x86_64/kernel/sound/pci/hda/snd-hda-codec.ko.xz: 'No such file or directory' lzma: fopen failed on /usr/lib/modules/5.5.15-200.fc31.x86_64/kernel/drivers/target/target_core_mod.ko.xz: 'No such file or directory' lzma: fopen failed on /usr/lib/modules/5.3.7-301.fc31.x86_64/kernel/drivers/iommu/amd_iommu_v2.ko.xz: 'No such file or directory' lzma: fopen failed on /usr/lib/modules/5.3.7-301.fc31.x86_64/kernel/drivers/media/v4l2-core/videodev.ko.xz: 'No such file or directory' lzma: fopen failed on /usr/lib/modules/5.6.19-200.fc31.x86_64/kernel/net/ipv4/netfilter/iptable_filter.ko.xz: 'No such file or directory' syscalls:sys_enter_open [Tracepoint event] [root@five ~]# perf test 78 78: Check open filename arg using perf trace + vfs_getname : FAILED! [root@five ~]# [root@five ~]# uname -a Linux five 5.9.0-rc3 #1 SMP Mon Aug 31 08:38:27 -03 2020 x86_64 x86_64 x86_64 GNU/Linux [root@five ~]# So I removed them from my local branch, I'll rerun the build tests and then push perf/core when all tests pass. The test uses 'perf probe' and I noticed it when processing Masami's debuginfod patches to make 'perf probe' use it, I thought it was his patches, looking only at the 'perf test 78' output, but ended up being the decompress ones. - Arnaldo