From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AC0CDA0C4C; Mon, 4 Oct 2021 12:11:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 416A941304; Mon, 4 Oct 2021 12:11:39 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id BAE5441300 for ; Mon, 4 Oct 2021 12:11:37 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10126"; a="205501898" X-IronPort-AV: E=Sophos;i="5.85,345,1624345200"; d="scan'208";a="205501898" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2021 03:11:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,345,1624345200"; d="scan'208";a="558342005" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by FMSMGA003.fm.intel.com with ESMTP; 04 Oct 2021 03:11:32 -0700 From: Sean Morrissey To: Cc: dev@dpdk.org, Sean Morrissey Date: Mon, 4 Oct 2021 10:10:53 +0000 Message-Id: <20211004101058.2396458-1-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v1 0/5] introduce IWYU X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patchset introduces the include-what-you-use script which removes unused header includes. IWYU GitHub: https://github.com/include-what-you-use/include-what-you-use Along with the script there are some patches which make a start on removing unneeded headers. Sean Morrissey (5): devtools: script to remove unused headers includes lib/telemetry: remove unneeded header includes lib/ring: remove unneeded header includes lib/kvargs: remove unneeded header includes lib/eal: remove unneeded header includes devtools/process_iwyu.py | 109 +++++++++++++++++++++++++ lib/eal/common/eal_common_dev.c | 5 -- lib/eal/common/eal_common_devargs.c | 1 - lib/eal/common/eal_common_errno.c | 4 - lib/eal/common/eal_common_fbarray.c | 3 - lib/eal/common/eal_common_hexdump.c | 3 - lib/eal/common/eal_common_launch.c | 6 -- lib/eal/common/eal_common_lcore.c | 6 -- lib/eal/common/eal_common_log.c | 2 - lib/eal/common/eal_common_memalloc.c | 3 - lib/eal/common/eal_common_memory.c | 5 -- lib/eal/common/eal_common_memzone.c | 4 - lib/eal/common/eal_common_options.c | 2 - lib/eal/common/eal_common_proc.c | 2 - lib/eal/common/eal_common_string_fns.c | 2 - lib/eal/common/eal_common_tailqs.c | 11 --- lib/eal/common/eal_common_thread.c | 3 - lib/eal/common/eal_common_timer.c | 6 -- lib/eal/common/eal_common_trace.c | 1 - lib/eal/common/hotplug_mp.h | 1 - lib/eal/common/malloc_elem.c | 6 -- lib/eal/common/malloc_heap.c | 5 -- lib/eal/common/malloc_mp.c | 1 - lib/eal/common/malloc_mp.h | 2 - lib/eal/common/rte_malloc.c | 6 -- lib/eal/common/rte_random.c | 3 - lib/eal/common/rte_service.c | 6 -- lib/eal/include/rte_version.h | 2 - lib/eal/linux/eal.c | 10 --- lib/eal/linux/eal_alarm.c | 7 -- lib/eal/linux/eal_cpuflags.c | 2 - lib/eal/linux/eal_debug.c | 5 -- lib/eal/linux/eal_dev.c | 4 - lib/eal/linux/eal_hugepage_info.c | 8 -- lib/eal/linux/eal_interrupts.c | 8 -- lib/eal/linux/eal_lcore.c | 7 -- lib/eal/linux/eal_log.c | 11 +-- lib/eal/linux/eal_memalloc.c | 8 -- lib/eal/linux/eal_memory.c | 9 -- lib/eal/linux/eal_thread.c | 5 -- lib/eal/linux/eal_timer.c | 15 ---- lib/eal/linux/eal_vfio_mp_sync.c | 1 - lib/eal/unix/eal_file.c | 1 - lib/eal/unix/rte_thread.c | 1 - lib/eal/x86/rte_cycles.c | 1 - lib/kvargs/rte_kvargs.c | 1 - lib/ring/rte_ring.c | 7 -- lib/telemetry/telemetry.c | 1 - lib/telemetry/telemetry_data.h | 1 - 49 files changed, 110 insertions(+), 213 deletions(-) create mode 100755 devtools/process_iwyu.py -- 2.25.1