Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5998349pxb; Tue, 16 Feb 2021 13:06:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJym2mDPQzAPiIp1hfOnMKH6ezhQByrtIsTlPFlTAa9TZozEhfsflTQQbNQvsjp19v7x+tYe X-Received: by 2002:a17:906:2bce:: with SMTP id n14mr21691841ejg.171.1613509612978; Tue, 16 Feb 2021 13:06:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613509612; cv=none; d=google.com; s=arc-20160816; b=mLwRo/1sWC9UplshL4/RPsGuHg1UVQ+WX8lvR/dk2xwwBQifW8SDYCmqWG758U+RZH OdVYVNrLMQqJQJzLtKrIkvTaR8ux/4dNpZRBwEePMpEyhvH44w7z98xlbHX1EwSOFXzs m+5LuGFtrrRxxcCp82JbUDd8t3ctw/obOQHnB3pGHzEczvTa7WUkxKo9VAmuOJ9ylYBF hpvGxx9dMfz65jrYWJyCwullj8pGjsEVar/TGaLpHuaKzz5oRI6TWCYcEhGxRcgl/oQ3 KOoXmWkYGJrA/TC7QYwGngdF4/EnptR3n0yquZ+XEwNEI4Zumzaut7qWDvofqHBEexgA zAfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:references:cc :to:from:subject:dkim-signature; bh=zY97zwVfWY8WHBbRL37+t2vDGTB3LFeY2gz0qcPX4rg=; b=YZr8g64fBvtgir+Aq1xR0L9c+pOkRY3+in7yf4dmyeYXBKBnMXtMsOG3hQ0rvGKF3t 65RRcztUWUoRbjA1KsEewfhqH2waxLfNWAoskT/o4ULB/nPrfq5SVuAyOYlMOMzduiP9 sH0JfdFkNXLYmkys9vvuMSHugyrEmBDz3BzyuuWmRu7jGZr/fxriJix4nQnx8UKRtE5W hmstiOZSOLYO3DgfKWm38x0sCvw0FOOFh6XGIET9p2hNXGwMJKPJQYKU3setoC0SgpGp mapvtoYXkPhFKsjAYG5aafXJT7t7iO3tEYo6zIQ+WKZ+oCgVndDqOyGgaG9InUB7xE0e DMbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@codeweavers.com header.s=6377696661 header.b=o6sI+KaN; 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=fail (p=NONE sp=NONE dis=NONE) header.from=codeweavers.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a3si45219ejd.66.2021.02.16.13.06.28; Tue, 16 Feb 2021 13:06:52 -0800 (PST) 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=fail (test mode) header.i=@codeweavers.com header.s=6377696661 header.b=o6sI+KaN; 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=fail (p=NONE sp=NONE dis=NONE) header.from=codeweavers.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229771AbhBPVFi (ORCPT + 99 others); Tue, 16 Feb 2021 16:05:38 -0500 Received: from mail.codeweavers.com ([50.203.203.244]:49504 "EHLO mail.codeweavers.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229544AbhBPVFh (ORCPT ); Tue, 16 Feb 2021 16:05:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codeweavers.com; s=6377696661; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:References:Cc:To:From:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=zY97zwVfWY8WHBbRL37+t2vDGTB3LFeY2gz0qcPX4rg=; b=o6sI+KaNN7UwXzejCtEYCGWm0y DHoKihcJME+Cc+7JpJpi9YRwkz2gwEaChmfLti5vcn2S00KXUe3fjOFxDA2JL2ZJ+3LyxxFmU+6vS IR1GaBhn36H8g08ciVqz7YtYcmeL/CS/XthI989i0Pj5xW2U3iLy80h4iX9apLJSyGSw=; Received: from [10.69.141.136] by mail.codeweavers.com with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lC7We-0002Mh-3R; Tue, 16 Feb 2021 15:04:54 -0600 Subject: Re: [PATCH 2/2] perf buildid-cache: Add test for 16-byte build-id From: Nicholas Fraser To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , "Frank Ch. Eigler" , Song Liu , Adrian Hunter , Kim Phillips , Tommi Rantala , Remi Bernon , linux-kernel@vger.kernel.org Cc: Ulrich Czekalla , Huw Davies References: Message-ID: <3aa04469-b891-5d05-85bc-799af460d54f@codeweavers.com> Date: Tue, 16 Feb 2021 16:04:40 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -40.5 X-Spam-Report: Spam detection software, running on the system "mail.codeweavers.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Sorry, I just realized I forgot to run checkpatch.pl on these; they're missing the --signoff. I'll re-send. On 2021-02-16 3:38 p.m., Nicholas Fraser wrote: > tests/shell/buildid.sh added an ELF executable with an MD5 build-id to > the perf debug cache but did not check whether the object was printed > by a [...] Content analysis details: (-40.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 USER_IN_WELCOMELIST user is listed in 'welcomelist_from' -20 USER_IN_WHITELIST DEPRECATED: See USER_IN_WELCOMELIST -20 ALL_TRUSTED Passed through trusted hosts only via SMTP -0.5 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 NICE_REPLY_A Looks like a legit reply (A) 0.0 AWL AWL: Adjusted score from AWL reputation of From: address Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sorry, I just realized I forgot to run checkpatch.pl on these; they're missing the --signoff. I'll re-send. On 2021-02-16 3:38 p.m., Nicholas Fraser wrote: > tests/shell/buildid.sh added an ELF executable with an MD5 build-id to > the perf debug cache but did not check whether the object was printed > by a subsequent call to "perf buildid-cache -l". It was being omitted > from the list. > > A previous commit fixed the bug that left it out of the list. This adds > a test for it. > --- > tools/perf/tests/shell/buildid.sh | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/tools/perf/tests/shell/buildid.sh b/tools/perf/tests/shell/buildid.sh > index 4861a20edee2..de02a23b7c7b 100755 > --- a/tools/perf/tests/shell/buildid.sh > +++ b/tools/perf/tests/shell/buildid.sh > @@ -50,6 +50,12 @@ check() > exit 1 > fi > > + ${perf} buildid-cache -l|grep $id > + if [ $? -ne 0 ]; then > + echo "failed: ${id} is not reported by \"perf buildid-cache -l\"" > + exit 1 > + fi > + > echo "OK for ${1}" > } > >