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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1814DC433EF for ; Wed, 16 Mar 2022 12:59:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355958AbiCPNA2 (ORCPT ); Wed, 16 Mar 2022 09:00:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347364AbiCPNAZ (ORCPT ); Wed, 16 Mar 2022 09:00:25 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8960C3AA75 for ; Wed, 16 Mar 2022 05:59:11 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id h23so2253620wrb.8 for ; Wed, 16 Mar 2022 05:59:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=jzYXuFw6t1GGQ3e3ytY3BE4kwazLUF9JZA0pvkZu3z4=; b=iQaN/Sbaut6GOISotqqPoNkJFQ+MWqEf1XyixuSqzk0zUegChILr9hjzs4eQAEcGFf 5CbZdnbhqzW5BGerIU7MGk1y+KdFteT4OozVaSQLCxXaEeOmOjeR9jdrk6skw6iDuE/M 55uSOsAv6jbfabjZ0U8qoS+KtLcxO/ASaH91YcQsEyFPANKaNZiO16GPjBajaO1gDQXo FLH8y76ix2FlS7eAoA2QgLdQYhLJqaZ3jdEKhdZ5bKTQhsQswFwt0dHS4EoFIQ3LqftF x3cYxP5ysX1NdyRaRYKew9ixCkmyjfNbrhDhMPXoL44gIVES779zI9pOcwo6O4NSejw5 AxYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=jzYXuFw6t1GGQ3e3ytY3BE4kwazLUF9JZA0pvkZu3z4=; b=ZWBIbpkMKoRRdcyPuDKe1fUDDdC1n+S2nOVZCxyN8TXHWMIoA26hwM8uizjYwWeEge R9M6dqmHQLuuSKhYCFSCiuJUHpA5KW/xvPSzVT/tzup6oYVV68Z+0t0g7SRKIxZBA2op bZRVMzAKF+Aq7lyrT6Sa81gndW0ETmp27NDk2pFUcW6cB+YXqvT9Wfnl9wi8uUfEvM9A NqqNctyR4dbcz+AzPlLl7DiTYb2j58auKZc7ozVQ2HPLlaqP0tkY/B0l8H23EByUKD9u XdcJCoXleFn5texQZZ6sB4JsHOUTJZWviB4TkGig/13s3SrDCc4BZfQMEx4zO1ebxcDd 5S+Q== X-Gm-Message-State: AOAM533Htxt7Ed6XGSaEcZINDxvdwxqLZHKTQJMy6hNsLRunySF5jUrb ozHkJBFoAEjQqiiRU2aPKgudnQ== X-Google-Smtp-Source: ABdhPJy4Hy20R7yN9hagwqQupnDiBP8RLHhFW5oKMad0+kO9NjMwJuHWi2WWa16dNvC0YERmuq+J0Q== X-Received: by 2002:a5d:6344:0:b0:1f0:21ee:9705 with SMTP id b4-20020a5d6344000000b001f021ee9705mr23929753wrw.93.1647435549892; Wed, 16 Mar 2022 05:59:09 -0700 (PDT) Received: from google.com (110.121.148.146.bc.googleusercontent.com. [146.148.121.110]) by smtp.gmail.com with ESMTPSA id v8-20020a1cf708000000b0034d7b5f2da0sm1681873wmh.33.2022.03.16.05.59.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 05:59:09 -0700 (PDT) Date: Wed, 16 Mar 2022 13:59:06 +0100 From: "Steinar H. Gunderson" To: Adrian Hunter Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf intel-pt: Synthesize cycle events Message-ID: References: <20220310093844.982656-1-sesse@google.com> <586de5fc-858b-2693-1986-5c77e8c0e3d0@intel.com> <52903e58-e74c-5ea0-36b4-277ea3610af4@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 16, 2022 at 01:19:46PM +0200, Adrian Hunter wrote: >> I guess the good news is that the perf report coming out of your version >> looks more likely to me; I have some functions that are around 1% that >> shouldn't intuitively be that much (and, if I write some Perl to sum up >> the cycles from the IPC lines in perf script, are more around 0.1%). >> So perhaps we should stop chasing the difference? I don't know. > That doesn't sound right. I will look at it more closely in the next few days. If you need, I can supply the perf.data and binaries, but we're talking a couple of gigabytes of data (and I don't know immediately if there's an easy way I can package up everything perf.data references) :-) /* Steinar */