[v2,0/5] introduce IWYU
Message ID | 20211006111329.152938-1-sean.morrissey@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5370EA0C41; Wed, 6 Oct 2021 13:13:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3B9A441125; Wed, 6 Oct 2021 13:13:48 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id B82D6410F2 for <dev@dpdk.org>; Wed, 6 Oct 2021 13:13:46 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10128"; a="213092405" X-IronPort-AV: E=Sophos;i="5.85,350,1624345200"; d="scan'208";a="213092405" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2021 04:13:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,350,1624345200"; d="scan'208";a="458389866" Received: from silpixa00401215.ir.intel.com ([10.55.128.96]) by orsmga002.jf.intel.com with ESMTP; 06 Oct 2021 04:13:45 -0700 From: Sean Morrissey <sean.morrissey@intel.com> To: Cc: dev@dpdk.org, Sean Morrissey <sean.morrissey@intel.com> Date: Wed, 6 Oct 2021 11:13:24 +0000 Message-Id: <20211006111329.152938-1-sean.morrissey@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211004101058.2396458-1-sean.morrissey@intel.com> References: <20211004101058.2396458-1-sean.morrissey@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/5] introduce IWYU X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Sean Morrissey
Oct. 6, 2021, 11:13 a.m. UTC
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 | 114 +++++++++++++++++++++++++ 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 | 7 +- 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, 116 insertions(+), 213 deletions(-) create mode 100755 devtools/process_iwyu.py