Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp803311imm; Thu, 26 Jul 2018 12:16:04 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdwyA60e9ISZTBPLhP2kGMeMpteHZQPXb7ndrfI+kzqckdItN/txCElig4wBoWRKkVDvEDH X-Received: by 2002:a63:530b:: with SMTP id h11-v6mr3099014pgb.139.1532632564188; Thu, 26 Jul 2018 12:16:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532632564; cv=none; d=google.com; s=arc-20160816; b=cuKr7iRZx+N3yuV14f5RBEtHNLPf80JDXUY8Rm0h1QHWEBbkRybQAOGvsJ1GAA+2kP JtZRqdXKc/IR38ngCjayHYR8ipxwX+Xax9IJmuFrzs+BDPXGqLkBIBxk1OIFX6iFpvXp /+TM4XOIRVLSoJKWX8pQiltWYuQIj33/PXL/X71SUNHOb/TZf10OMPVon0j4jN8WbtcB 1CgoFAABi+F11vgMihIBjks2wilYEP6AGX4lU7/zLXPEjW9BT/kz6IleMNKo5MufahyY yj1ISkliOu+IAHu0ec4FesZteb/xbBGG1jeTYggA35FIXf2rjSRrPKkOEEUW70ChA0Y9 3VrA== 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:dkim-signature:arc-authentication-results; bh=eDQH0DQUzV1EX9uINcyKCFgc+EKd3p1SUhw+bBGluUY=; b=bkB+Km88ht5ridbvRrSH8pE6xv+EQ4jNbAMC3dbRhyvrWLe03q+4B5vQO/+Avcy+HR Ts53GA/MX7RYtp7qd94ekPZDN8Xe+9ZLLOJZZqIxiW+SI8C9ir/k1s8KF89VYWgS1o2U fMeG0HU8WP9zeIOYtm7fkDSEQL/wHWzK6FnDgxcSremlGX1pw1L2euSBxrtOOnF4oJIK Cul8pROarOS84gluijOVb85+RfqVyfkJj2OaJH68660SYxGEQCRNXR2E7PywMkYa97Yn /g4TRBvHsbKZc7MPbJlE8Qvf9dnZ97gqyPjHIlYKwiMbY8bUi66O1JICbNjCLRWwi/6e wE7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2dL9VGQI; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w13-v6si1820800pgr.229.2018.07.26.12.15.49; Thu, 26 Jul 2018 12:16:04 -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; dkim=pass header.i=@kernel.org header.s=default header.b=2dL9VGQI; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731572AbeGZUcw (ORCPT + 99 others); Thu, 26 Jul 2018 16:32:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:57932 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729801AbeGZUcw (ORCPT ); Thu, 26 Jul 2018 16:32:52 -0400 Received: from jouet.infradead.org (unknown [177.79.81.37]) (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 7CCF320673; Thu, 26 Jul 2018 19:14:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1532632479; bh=vme20K9mDxTv3P+9CN5JVS9660ReYEZMxgLcbYPCMUI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2dL9VGQIMzoOgkLr2sazpFpyQgK8gusOCLbRw08bAxNIETwmxAsw6D4/0srSaScLG Z9R7gbEy8X3EbEK3ZuP+b5XWe6Vmm2E9CCGu4UyhP374yvfI/MKsyx3hoW63YNpaAa lceO/ndo3f+2gdCRKrT4rLeUcyPy78pmaHZ2l/MQ= Received: by jouet.infradead.org (Postfix, from userid 1000) id 673B81403B8; Thu, 26 Jul 2018 16:14:35 -0300 (-03) Date: Thu, 26 Jul 2018 16:14:35 -0300 From: Arnaldo Carvalho de Melo To: Sandipan Das Cc: Alexei Starovoitov , Daniel Borkmann , Ingo Molnar , Martin KaFai Lau , Clark Williams , linux-perf-users@vger.kernel.org, Adrian Hunter , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Wang Nan , linux-kernel@vger.kernel.org, "Naveen N. Rao" , Heiko Carstens , Hendrik Brueckner , Martin Schwidefsky , Ravi Bangoria , Thomas Richter Subject: Re: BPF relocation 'perf test' entries failing was: Re: [GIT PULL 00/27] perf/core improvements and fixes Message-ID: <20180726191435.GB20438@kernel.org> References: <20180726131534.GD17940@kernel.org> <2fbfac01-e103-8daf-6187-b94d1725dbd0@linux.ibm.com> <20180726185805.GA20438@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180726185805.GA20438@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Jul 26, 2018 at 03:58:05PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Thu, Jul 26, 2018 at 11:04:08PM +0530, Sandipan Das escreveu: > > I came across the same problem. Does the following patch fix it? > > https://lkml.org/lkml/2018/7/26/669 > Oh my, that one was subtle... Checking... Right, when it said it was running: 40.3: BPF prologue generation In fact it was running: 40.4: BPF relocation checker That error message in the 'perf test -v' output: libbpf: Program 'func=sys_write' contains non-map related relo data pointing to section 65522 Was the _expected_ one for "40.4: BPF relocation checker", then it failed when it couldn't run the off by one "last" subtest, duh. Thomas, this was a problem introduced by a patch from you, just for reference, this one: Fixes: 9ef0112442bd ("perf test: Fix subtest number when showing results") I should have caught this by running 'perf test' before/after applying that patch, I'll now make sure this is done before sending pull reqs upstream. In fact I did after, and thought, hey, some BPF related regression, I must've updated clang/llvm and something new appeared on the radar, so I went that direction and went nowhere, well, now I have an uptodate llvm/clang combo to play with BTF, pahole, etc 8-) Thanks! - Arnaldo