Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5313467pxv; Wed, 21 Jul 2021 02:24:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZjO6kyEO00MNQlPrUNviogHAlIa6OOl1IeLio+iCEfAoTR3bYPVxwraSG7VPsPjiHjXc/ X-Received: by 2002:a5d:8996:: with SMTP id m22mr25556413iol.6.1626859490228; Wed, 21 Jul 2021 02:24:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626859490; cv=none; d=google.com; s=arc-20160816; b=a4bRo2B/qLRESfSth1IianGc4zpVie9mtp6/HQJWGlmHKKxPkfKMu7i53qtIzDbq76 f1DaICUEQL+uPZ10sc/rNPkDRsjwFjHqeLf+iQUoWyJ7a65MuKVCtAPkuJQ4h2Ayb+vu dJP2fGgsAEWtjxbaL4g61ZkWXLzD9ejfZRhu+Eni8KuvswFBNJYPqmLncojqpmawj33J iR/PLuGsDEuKEiytO8bAWMtDa5J/H7LAUxYjNTxucjg/AvK+ASGxkRtwHQjFx7XmpOMD E79QNXBT31vubsuLA+n0PsoOqmYyVFXJCd/ARB9qgGVFjyHAosWQkV6c0TOTiQy+e5c3 ZtEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=eWT8WQtpSaEx/lPvF1Ot0G/b08hmMq3gTBVOy1U7NYU=; b=M5ileZEe+IPaPFAmogU2nHbvYdS9SAzbIaXV0ZfD4a+xPBDpyP6BkMCZcbKh0NGyEr j2dqD9uVX2t79Tuhirqx7lMoogdX1yeqcrYiPPhHwD2jANXz/vhQ4RQlSrZNjH0cPao8 SVK/8tIupWx7mRsIBdkrW1+lGSKR7imdneKFMLfOU/uRkOVwKG5gUAE7+dEOzHu6YiU6 we1qBOxkVNHIu5uYm9N5TocxzxcDn0V9EcQEI8LfypUlUBItgWLwBm8e7YJKBRbKu9Fo iPo4bxp1nQB25AEuvVUpJ3VVpdw8fwCBRF/ZPzn/xJcz0ucfb8Xgz+nsEkjOGalu315M rWKQ== ARC-Authentication-Results: i=1; mx.google.com; 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=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c19si15931277ild.65.2021.07.21.02.24.38; Wed, 21 Jul 2021 02:24:50 -0700 (PDT) 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; 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=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236692AbhGUIkl (ORCPT + 99 others); Wed, 21 Jul 2021 04:40:41 -0400 Received: from foss.arm.com ([217.140.110.172]:49272 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235742AbhGUI04 (ORCPT ); Wed, 21 Jul 2021 04:26:56 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E5B1111D4; Wed, 21 Jul 2021 02:07:32 -0700 (PDT) Received: from e121896.arm.com (unknown [10.57.38.215]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4DA2E3F694; Wed, 21 Jul 2021 02:07:30 -0700 (PDT) From: James Clark To: acme@kernel.org, mathieu.poirier@linaro.org, coresight@lists.linaro.org Cc: leo.yan@linaro.org, al.grant@arm.com, suzuki.poulose@arm.com, anshuman.khandual@arm.com, mike.leach@linaro.org, James Clark , John Garry , Will Deacon , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: [PATCH 4/6] perf cs-etm: Update OpenCSD decoder for ETE Date: Wed, 21 Jul 2021 10:07:03 +0100 Message-Id: <20210721090706.21523-5-james.clark@arm.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20210721090706.21523-1-james.clark@arm.com> References: <20210721090706.21523-1-james.clark@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org OpenCSD v1.1.1 has a bug fix for the installation of the ETE decoder headers. This also means that including headers separately for each decoder is unnecessary so remove these. Signed-off-by: James Clark --- tools/build/feature/test-libopencsd.c | 4 ++-- tools/perf/util/cs-etm-decoder/cs-etm-decoder.c | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/build/feature/test-libopencsd.c b/tools/build/feature/test-libopencsd.c index 52c790b0317b..eb6303ff446e 100644 --- a/tools/build/feature/test-libopencsd.c +++ b/tools/build/feature/test-libopencsd.c @@ -4,9 +4,9 @@ /* * Check OpenCSD library version is sufficient to provide required features */ -#define OCSD_MIN_VER ((1 << 16) | (0 << 8) | (0)) +#define OCSD_MIN_VER ((1 << 16) | (1 << 8) | (1)) #if !defined(OCSD_VER_NUM) || (OCSD_VER_NUM < OCSD_MIN_VER) -#error "OpenCSD >= 1.0.0 is required" +#error "OpenCSD >= 1.1.1 is required" #endif int main(void) diff --git a/tools/perf/util/cs-etm-decoder/cs-etm-decoder.c b/tools/perf/util/cs-etm-decoder/cs-etm-decoder.c index 5972a8afcc6b..60147c908425 100644 --- a/tools/perf/util/cs-etm-decoder/cs-etm-decoder.c +++ b/tools/perf/util/cs-etm-decoder/cs-etm-decoder.c @@ -13,8 +13,6 @@ #include #include #include -#include -#include #include "cs-etm.h" #include "cs-etm-decoder.h" -- 2.28.0