From patchwork Wed Dec 6 20:13:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Liang, Kan" X-Patchwork-Id: 13482217 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8DEFC4167B for ; Wed, 6 Dec 2023 20:14:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WKUa3v+8RwcEaYOTcImKcm/RGwLug0zKza+a3z4fNn4=; b=jSg413BFEleTZd 930GcO6GqEX6MyN7tNyYXG13TMSY8mrJV8tMRv+IZZOD1SUHCEBUW3L4354NJXvGTiCkmRrPmkDMG rc4lOdql1QaH8l3tRW42MAkeTeFF9lqUdk5P8hJJRK2puo2c5F/2wbwLsrCGTmJRLaRsfXX3tL8vQ 4AeTxXUES+KVKuQtGWImrI50+sYlg35OQm+m4A822CCFs0245oOB/N+GDKxhp2sV3dkF8BSv3+y/E SpUl9Pu0jBvH2WE68MJvekigF5F7xwgkMO4AE0yZi4nWRKhekPEye+f1V/DbBu6pP3DXU6maBitz8 LBjkdBQzJY8DwoLxKqHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rAyHA-00BBwI-3C; Wed, 06 Dec 2023 20:13:44 +0000 Received: from mgamail.intel.com ([134.134.136.31]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rAyH5-00BBor-0u for linux-arm-kernel@lists.infradead.org; Wed, 06 Dec 2023 20:13:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701893619; x=1733429619; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xauO0p/GUkiGEzh2PvYpS4cwj2BY8SDJavt28LY2Q5I=; b=PPaEvlzxvOOn9jqXGW81BWQz9h11G74isTmRLJ1x+K2MQq+nR0Gv2abo ek4CT4Lm9KQy/hsSdlFibT6Wqs8P2F09LqwVM2Gh5UdqBqwGj5igMZYjL JsLCDDtC7VRMZ5KOutc/NURwtI2U1pqL27FLA6W12WyUFkjdEr5sTb1L1 Sp4StEytKFnCV7n63GoESC/o23DDh8m14AR59Q1q08oAsU6yyCtyh8rlI 9OSbsp2XE4KX2cy+ra2EIE8YVgpQZem1OXV8OgnXgjfHsl2hXIKWH32Ah G+OsMRXTGihkolwI+yuqHDUFxLyxUOo4Vv1Xsw4X9s4QzmfOhCoL9AbIJ Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10916"; a="458445610" X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="458445610" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Dec 2023 12:13:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10916"; a="944766687" X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="944766687" Received: from kanliang-dev.jf.intel.com ([10.165.154.102]) by orsmga005.jf.intel.com with ESMTP; 06 Dec 2023 12:13:32 -0800 From: kan.liang@linux.intel.com To: acme@kernel.org, irogers@google.com, peterz@infradead.org, mingo@redhat.com, namhyung@kernel.org, jolsa@kernel.org, adrian.hunter@intel.com, john.g.garry@oracle.com, will@kernel.org, james.clark@arm.com, mike.leach@linaro.org, leo.yan@linaro.org, yuhaixin.yhx@linux.alibaba.com, renyu.zj@linux.alibaba.com, tmricht@linux.ibm.com, ravi.bangoria@amd.com, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Kan Liang Subject: [PATCH 6/6] perf mem: Remove useless header files for X86 Date: Wed, 6 Dec 2023 12:13:24 -0800 Message-Id: <20231206201324.184059-7-kan.liang@linux.intel.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20231206201324.184059-1-kan.liang@linux.intel.com> References: <20231206201324.184059-1-kan.liang@linux.intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231206_121339_370317_63393C20 X-CRM114-Status: UNSURE ( 7.81 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Kan Liang The X86 mem-events.c only has perf_mem_events array now. Remove useless header files. Signed-off-by: Kan Liang --- tools/perf/arch/x86/util/mem-events.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tools/perf/arch/x86/util/mem-events.c b/tools/perf/arch/x86/util/mem-events.c index 71ffe16de751..62df03e91c7e 100644 --- a/tools/perf/arch/x86/util/mem-events.c +++ b/tools/perf/arch/x86/util/mem-events.c @@ -1,11 +1,9 @@ // SPDX-License-Identifier: GPL-2.0 -#include "util/pmu.h" -#include "util/pmus.h" -#include "util/env.h" -#include "map_symbol.h" -#include "mem-events.h" #include "linux/string.h" -#include "env.h" +#include "util/map_symbol.h" +#include "util/mem-events.h" +#include "mem-events.h" + #define MEM_LOADS_AUX 0x8203