Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3807414ybg; Fri, 25 Oct 2019 09:11:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqz7d0rqrdN+lHFls6pUWF+Oi6ubEdXTNRsDz4zDhyMmtaR65GTvVB//3tp43umbXCkmeAfc X-Received: by 2002:a50:9555:: with SMTP id v21mr4336622eda.90.1572019880755; Fri, 25 Oct 2019 09:11:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572019880; cv=none; d=google.com; s=arc-20160816; b=p7BMZ8eP+kX+6F1+fTvhsRtih14i4cuRdunLZbV5l7KEF2i3drkoRYPGEUthAYn5xm dfvXBsaRrsKPOTfYZ7W4qzR3t7OgxCxl8gv+5WLY17a/bm4GYyDME2qunI6LkBwUdhce RMDZ7302Fv8uFB8+t6PLMWWOPWycbi1kVGLvPwNGdNdEmwUo9XWD9nb4kqYDN7WiSid9 HiPzsTiRVfBkAHsOrKzKy0QRdTtocaQMDmEoyN0e0xut/5ntepiZsltW6KtX8eUxQJUL FTcnbYZ6QFpfcsZ92RhsqNWIhXo73EGiTWhuwlQK/5wa8WQ/7QyQIBBcQnVLQvtLXka2 tPXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=xAMDXBpjZHCRziCMrSfOfSsLBQ3ujaDu0VY1h82iRCM=; b=UG6jjDlm7lUsTEYycSgrXiIMH5FISNXuV9y8p3qbW4LL1dtJJwAv5X2Hm/GMer7BQg DM4EZYPwfVVf5AH5E4kaMNAw2Ak5p+lO6PsR/DnIIfV+/NKcuctM7Cr/FV7b8lRzkBNw f24C+tGklnbmubwICkI8+lz9gekxas8Ewt1XAfRItZMplsC7YEc5I2q9D/udH9IAeaKS NLonjPezfCw9iojAY+iWyWy0veINDz899+scX/k6m0VvQ7MuzSDLAp9Chxb/5Qkj5RkA l3QKZuPSBYJlnB2nORNS1grYIYwXrFWHrv5e8k/TWt0juwVGlhMqWDbVZ/C0AkuyRRhz Ddtg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si1481249ejx.102.2019.10.25.09.10.56; Fri, 25 Oct 2019 09:11:20 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502274AbfJXOBQ (ORCPT + 99 others); Thu, 24 Oct 2019 10:01:16 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:5151 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727811AbfJXOBQ (ORCPT ); Thu, 24 Oct 2019 10:01:16 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 5883740BB3E7499E90F3; Thu, 24 Oct 2019 22:01:12 +0800 (CST) Received: from huawei.com (10.175.102.38) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.439.0; Thu, 24 Oct 2019 22:00:54 +0800 From: Tan Xiaojun To: , , , , , , , , , , , , , , , CC: , , , , , , Subject: [RFC v2 1/4] perf tools: Move arm-spe-pkt-decoder.h/c to the new dir Date: Thu, 24 Oct 2019 22:48:27 +0800 Message-ID: <20191024144830.16534-2-tanxiaojun@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191024144830.16534-1-tanxiaojun@huawei.com> References: <20191024144830.16534-1-tanxiaojun@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.102.38] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Create a new arm-spe-decoder directory for subsequent extensions and move arm-spe-pkt-decoder.h/c to this directory. No code changes. Signed-off-by: Tan Xiaojun --- tools/perf/util/Build | 2 +- tools/perf/util/arm-spe-decoder/Build | 1 + tools/perf/util/{ => arm-spe-decoder}/arm-spe-pkt-decoder.c | 0 tools/perf/util/{ => arm-spe-decoder}/arm-spe-pkt-decoder.h | 0 tools/perf/util/arm-spe.c | 2 +- 5 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 tools/perf/util/arm-spe-decoder/Build rename tools/perf/util/{ => arm-spe-decoder}/arm-spe-pkt-decoder.c (100%) rename tools/perf/util/{ => arm-spe-decoder}/arm-spe-pkt-decoder.h (100%) diff --git a/tools/perf/util/Build b/tools/perf/util/Build index 8dcfca1a882f..f2e5a217e0aa 100644 --- a/tools/perf/util/Build +++ b/tools/perf/util/Build @@ -100,7 +100,7 @@ perf-$(CONFIG_AUXTRACE) += intel-pt-decoder/ perf-$(CONFIG_AUXTRACE) += intel-pt.o perf-$(CONFIG_AUXTRACE) += intel-bts.o perf-$(CONFIG_AUXTRACE) += arm-spe.o -perf-$(CONFIG_AUXTRACE) += arm-spe-pkt-decoder.o +perf-$(CONFIG_AUXTRACE) += arm-spe-decoder/ perf-$(CONFIG_AUXTRACE) += s390-cpumsf.o ifdef CONFIG_LIBOPENCSD diff --git a/tools/perf/util/arm-spe-decoder/Build b/tools/perf/util/arm-spe-decoder/Build new file mode 100644 index 000000000000..16efbc245028 --- /dev/null +++ b/tools/perf/util/arm-spe-decoder/Build @@ -0,0 +1 @@ +perf-$(CONFIG_AUXTRACE) += arm-spe-pkt-decoder.o diff --git a/tools/perf/util/arm-spe-pkt-decoder.c b/tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c similarity index 100% rename from tools/perf/util/arm-spe-pkt-decoder.c rename to tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c diff --git a/tools/perf/util/arm-spe-pkt-decoder.h b/tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.h similarity index 100% rename from tools/perf/util/arm-spe-pkt-decoder.h rename to tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.h diff --git a/tools/perf/util/arm-spe.c b/tools/perf/util/arm-spe.c index 53be12b23ff4..f3382a38d48e 100644 --- a/tools/perf/util/arm-spe.c +++ b/tools/perf/util/arm-spe.c @@ -23,7 +23,7 @@ #include "debug.h" #include "auxtrace.h" #include "arm-spe.h" -#include "arm-spe-pkt-decoder.h" +#include "arm-spe-decoder/arm-spe-pkt-decoder.h" struct arm_spe { struct auxtrace auxtrace; -- 2.17.1