Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp443790ybc; Sat, 23 Nov 2019 01:28:28 -0800 (PST) X-Google-Smtp-Source: APXvYqxHVBVKLa35cUZ+oCrSZNGn1TpmQWeDNA2oZkMahlpVy/TcGvVH/gv09YUd1AltG35eVwd9 X-Received: by 2002:a50:9b1a:: with SMTP id o26mr6258909edi.208.1574501308426; Sat, 23 Nov 2019 01:28:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574501308; cv=none; d=google.com; s=arc-20160816; b=e3d8rA9uNgeAvfX2zpkHwWGNW8ttuXmdnb5wxZU2IBNmhMaNG8S+HzWskcRAA6HIYY /4DOGPU1nWuek3xLQ3lQ+xKQUYqSef8v7Jo1ATeLJVMi39RYKlDZujIG3lUGPJTQdxmS L7qJTFp8SOlD0xYLRcKE45/Zgxw0I8C6nKEkOceBoUAtbSpdVCh1RxphUV5IzqtYUzXL N48FyP4pxCfaBmykmqyfbWbjhHVSyqblKYrNpFhpfgv7bAgDBT52l6WJXqH1ZoU665h1 B92myjwEpzRz48nRKiAXy+RfMWgEcTCQgikmcw4LRPVMoUP+gc+s+zCrRYxXKAp7K+aS fwng== 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=FfowmjN13n30XmhcY1vmAWY+edycZHYBR7vl5lmwP4eMYFVzxinsr2tZIiaGnZJDUx v/aqb8qa0FF97OECauMlCvJ/5Cb/byw/e86DkT5ENMcTczmq9uJGQ4FHSeOMI5xv5JIr yjbxyuDvjDCjyu2EyZAUnBqha5rCbJZE6gvVshRXFqyJVCJaVPlqG8Vf72yxfxPpyWtb rRVWLC3evqVoKuspieK536fu3H1im+9AErM/6kams0lwB80zorhf3MQpDlhY2zjBPsga Db1sbwEICHJn3QrB9kIkLob0Q52ETEUsHqwtIpQggXIIwkrZuEVCQ8yelKrDYyrCSJFV VMWg== 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 e8si418414ejb.200.2019.11.23.01.28.04; Sat, 23 Nov 2019 01:28:28 -0800 (PST) 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 S1726686AbfKWJYi (ORCPT + 99 others); Sat, 23 Nov 2019 04:24:38 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:6707 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726524AbfKWJYi (ORCPT ); Sat, 23 Nov 2019 04:24:38 -0500 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 61DD3EA833AE4F9BAA7C; Sat, 23 Nov 2019 17:24:35 +0800 (CST) Received: from huawei.com (10.175.102.38) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.439.0; Sat, 23 Nov 2019 17:24:26 +0800 From: Tan Xiaojun To: , , , , , , , , , , , , , , , CC: , , , , , , Subject: [RFC v3 1/5] perf tools: Move arm-spe-pkt-decoder.h/c to the new dir Date: Sat, 23 Nov 2019 18:11:14 +0800 Message-ID: <20191123101118.12635-2-tanxiaojun@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191123101118.12635-1-tanxiaojun@huawei.com> References: <20191123101118.12635-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