Message ID | 20240823093150.791835-1-dodji@redhat.com |
---|---|
Headers |
Return-Path: <libabigail-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 002D4385ED4A for <patchwork@sourceware.org>; Fri, 23 Aug 2024 09:32:07 +0000 (GMT) X-Original-To: libabigail@sourceware.org Delivered-To: libabigail@sourceware.org Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by sourceware.org (Postfix) with ESMTPS id 138A4385EC28 for <libabigail@sourceware.org>; Fri, 23 Aug 2024 09:31:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 138A4385EC28 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=seketeli.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 138A4385EC28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=217.70.183.196 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724405516; cv=none; b=hnBW+0qWSXoDR9Hpi0WZAPDsc4q7I5CS6Yt77piNEdAwB6QBg89g62ICsv2x2J8mjqezXW8cSHC4vfRDRrXxmEeJ+J95h56ulxk2jdnnW5uB2NX2rv0FbgbmOKcmneibJo2WOtBsGFrfvCG/C8jWUkqznyXfhoBq6rPCHdovYL4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1724405516; c=relaxed/simple; bh=ULhed4YbRMrTMFu4XEwDqDVyLv8CV7ZP6Q96zJgB2pc=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=atkeaCwJQ4g/2MkrTw9AmfHGJpU6au1a//K8jvmH6ScYMb+zrOBiF6eNshjFqzLVg0x1ni2AthwXPeX0FFWF7a50ejFlrFbsnsUmM0fMj1yNCnYaTWhI5jNfuod7Lco6JdaUaieQAaImKZeDkfpWICUSAquKFSsuQV8el01avZc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail.gandi.net (Postfix) with ESMTPSA id 7EE9BE0007; Fri, 23 Aug 2024 09:31:51 +0000 (UTC) Received: by localhost (Postfix, from userid 1000) id C5599507F1C8; Fri, 23 Aug 2024 11:31:50 +0200 (CEST) From: Dodji Seketeli <dodji@redhat.com> To: libabigail@sourceware.org Cc: Dodji Seketeli <dodji@seketeli.org> Subject: [PATCH 0/3] Add DWARF self-comparison tests to libabigail-tests Date: Fri, 23 Aug 2024 11:31:34 +0200 Message-ID: <20240823093150.791835-1-dodji@redhat.com> X-Mailer: git-send-email 2.43.5 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: dodj@seketeli.org X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Mailing list of the Libabigail project <libabigail.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libabigail>, <mailto:libabigail-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libabigail/> List-Post: <mailto:libabigail@sourceware.org> List-Help: <mailto:libabigail-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libabigail>, <mailto:libabigail-request@sourceware.org?subject=subscribe> Errors-To: libabigail-bounces~patchwork=sourceware.org@sourceware.org |
Series |
Add DWARF self-comparison tests to libabigail-tests
|
|
Message
Dodji Seketeli
Aug. 23, 2024, 9:31 a.m. UTC
From: Dodji Seketeli <dodji@seketeli.org>
The libabigail-tests repository [1] contains big integration tests for
the libabigail project. One set of tests is the self-comparison of
Linux kernels (vmlinux & modules). For now, those self-comparison
tests have been essentially using BTF and CTF format because of their
speed.
This test adds a DWARF self-comparison test to that set. The test
uses a stablelist to restrict the size of the result KMI (aka, Kernel
Module Interface, really what people call KABI) and speed-up the
processing. Without such a stablelist, analyzing vmlinux and its
3000+ modules takes ~ 35 minutes. With a stablelist of ~1200 ELF
symbols, the analysis takes less than one minute.
The first patch adds the test. The second patch fixes typo in the
build system of the test. The third patch adds some information to
the README.
[1]: https://sourceware.org/git/?p=libabigail-tests.git;a=shortlog;h=refs/heads/master
Dodji Seketeli (3):
test-self-compare-linux: Add a test that reads DWARF
configure.ac: Fix the default path to the include dir
README: Add that built kernel is 5.15
configure.ac | 2 +-
.../test-minimal-ctf-1/README | 2 +-
.../kmi-el94-stablelist-x86_6 | 1429 +++++++++++++++++
test-self-compare-linux.cc | 90 +-
4 files changed, 1508 insertions(+), 15 deletions(-)
create mode 100644 data/test-self-compare-linux/test-minimal-ctf-1/kmi-el94-stablelist-x86_6