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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 80590C4320E for ; Thu, 2 Sep 2021 07:53:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5491161074 for ; Thu, 2 Sep 2021 07:53:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243762AbhIBHyr (ORCPT ); Thu, 2 Sep 2021 03:54:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243180AbhIBHyo (ORCPT ); Thu, 2 Sep 2021 03:54:44 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58DF3C061757 for ; Thu, 2 Sep 2021 00:53:46 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id z24-20020a17090acb1800b0018e87a24300so883888pjt.0 for ; Thu, 02 Sep 2021 00:53:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=eDuiHt7SLcgqmkUZhOUaA+olXXf4peHP9OkHl1MTPvg=; b=s6c04M6NRZCZcPXh3YvSESmn4z1oHNU/24ZkJgMlQV4ipttA+SnNmrWIhFTjn/LFO0 KNtJ1k319VCxA9lpVrsYqvQnYp6ay/suJ9RgMq7RxdVmPgYLPN+N+CLsmOAJKsAalVH1 SBjQWIIm4cR8cDU8G+O4walNw36ODnLz258YAdf6CcYz018ZNNGWS4owYBqIOYYZiiPI tgESFaftJD6Dk69XBIe+VO7OMO+6bqCp2S0teGjQz+JlqHfiOuWK/yHAH9Zqv+cCO7KI a4IxH6OZh/DaF5VH9trCR3cHEdA1EcexXOkPJLrynLO/SgjL7HnPbapgakp5DEkqcb22 7AtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=eDuiHt7SLcgqmkUZhOUaA+olXXf4peHP9OkHl1MTPvg=; b=n4r+gvee2fZpy/Uo0oduyMZTr06Joh2YKwe3Z9kcEULflPKfLxk2mII3e2DlFBfNws ZYXWq7+ZhMiTNG6cLNQSsan4AGEI/b4fhPqMeHmYJQYGbb0OTDVPENU427Bdy7efJW+z 6P1mDy3ACLaf1CuzWRl4lRF6qGG5XMNbw8VBy8osAzdGbN+V+jz2NWsoGLGG84SHiKSL lPbaOIrWVPqlfxa3rlRKxt6uN35oYRUBSCx73WEHKg+WTg092Q11kbtBW1+P1DMmaid5 S5rpytbJC9O77J4j5NfZjmMDX4alXFGwPBtUO+VfdgPBrXUcEJMhBvc+TVW03umkX0kx YPkA== X-Gm-Message-State: AOAM530dVrAiRthh0Pj9wJ43M3jlWhFd7BeCqrn7KIOjbEUoWcKhx0L0 e5BQKlB4RAvJW/Rh9wZ40JVJyQ== X-Google-Smtp-Source: ABdhPJzXA70pcOUanWDxO4McVVcGj57YamXwUCkc6FWYK1IRJ2V0Jyo5GvnKBXDGpAK9scy3psru4w== X-Received: by 2002:a17:90a:bd90:: with SMTP id z16mr2428036pjr.70.1630569225837; Thu, 02 Sep 2021 00:53:45 -0700 (PDT) Received: from leoy-ThinkPad-X240s ([213.173.35.225]) by smtp.gmail.com with ESMTPSA id j2sm1238614pfe.201.2021.09.02.00.53.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Sep 2021 00:53:45 -0700 (PDT) Date: Thu, 2 Sep 2021 15:53:39 +0800 From: Leo Yan To: Arnaldo Carvalho de Melo Cc: James Clark , mathieu.poirier@linaro.org, coresight@lists.linaro.org, linux-perf-users@vger.kernel.org, mike.leach@linaro.org, suzuki.poulose@arm.com, John Garry , Will Deacon , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 9/9] perf cs-etm: Show a warning for an unknown magic number Message-ID: <20210902075339.GD303522@leoy-ThinkPad-X240s> References: <20210806134109.1182235-1-james.clark@arm.com> <20210806134109.1182235-10-james.clark@arm.com> <20210824083615.GF204566@leoy-ThinkPad-X240s> 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 Hi Arnaldo, On Wed, Sep 01, 2021 at 01:49:51PM -0300, Arnaldo Carvalho de Melo wrote: [...] > This doesn't explain that 'make -C tools/perf build-test' error, perhaps > it is reusing the feature dump (feature detection), done without > CORESIGHT=1, when building with CORESIGHT=1 :-\ > > Anyway, please consider making the build fail when CORESIGHT=1 is passed > explicitely and that tools/build/feature-libopencsd.c feature test fails > instead of silently building the tool _without_ the explicitely asked > for feature. Sorry for inconvenience. I have sent a patch to allow the build to report error when detect feature failure for libopencsd [1]. It's obviously that there have another issue with 'make -C tools/perf build-test' which should not build with option 'CORESIGHT=1' by default. Please let me know if you want me to follow this issue or not. Thanks, Leo [1] https://lists.linaro.org/pipermail/coresight/2021-September/006967.html p.s. I didn't use the patch linkage from lore.kernel.org, seems the server is down when I try to fetch link from it.