From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::221]) by sourceware.org (Postfix) with ESMTPS id 9241E3858D32 for ; Mon, 29 Aug 2022 11:02:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9241E3858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=seketeli.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=seketeli.org Received: (Authenticated sender: dodji@seketeli.org) by mail.gandi.net (Postfix) with ESMTPSA id B99A324000B; Mon, 29 Aug 2022 11:02:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seketeli.org; s=gm1; t=1661770959; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SzxOJm3chwcB+UG/2I7tqIlKxYNgMQK5WufdWS1+gqE=; b=niLgO67joLKeAIrpeBpKnSEsE/ooULHfnhRCZ8+dJajyxe+q8290Wig7z5PUofWCN+5LUb CVxzZuC0+3WGtjZegu+MeivmFa6o+4AF5IFjObHh/zUp+eMostj2sC9okQXD1B1/U1HCSY 1+5CcD5C3SFEXyk/TsXnOVEKwCxm5AVTqGmbXX0UVkvH+8e24jZ6QJsmCw7nFkugjf5jOx rPhC9Eo0ms4I4SnaAziILd8Hsp/BTU9w3fx0of6ZFv1JcecpZOIv7M7sbMue37jcP3j+d6 51cvA//9plos6xkC4jR85HaN1g8IG0R5nASR1Id04OGeqr7iuV+m5m4eM8UvLQ== Received: by localhost (Postfix, from userid 1000) id F02135802BD; Mon, 29 Aug 2022 13:02:37 +0200 (CEST) From: Dodji Seketeli To: "Guillermo E. Martinez via Libabigail" Subject: Re: [PATCH] ctf-reader: looks for debug information in out-of-tree modules Organization: Me, myself and I References: <20220815193209.3631681-1-guillermo.e.martinez@oracle.com> X-Operating-System: Fedora 38 X-URL: http://www.seketeli.net/~dodji Date: Mon, 29 Aug 2022 13:02:37 +0200 In-Reply-To: <20220815193209.3631681-1-guillermo.e.martinez@oracle.com> (Guillermo E. Martinez via Libabigail's message of "Mon, 15 Aug 2022 14:32:09 -0500") Message-ID: <87ler7l3ci.fsf@seketeli.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_INVALID, DKIM_SIGNED, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2022 11:03:03 -0000 Message-ID: <20220829110237.MlgApN9JHMaPr4Qza4cZqioxzwUimStZsFxpxaGqDT8@z> Hello, "Guillermo E. Martinez via Libabigail" a =C3=A9crit: > -- > > The archive `vmlinux.ctfa' contain CTF debug information for > all the types used by more than one module, CTF for the core > kernel and CTF for each module compiled in Linux tree directory. > CTF information for out-of-tree module is not present in > `vmlinux.ctfa' file, even so, the compiler can emit the `.ctf' > section into the out-of-tree modules and it can be extracted > by the libabigail tools. > > * src/abg-ctf-reader.cc (process_ctf_archive, read_corpus > slurp_elf_info): Avoid looks for `vmlinux.ctfa' when > we aren't processing a `cur_corpus_group_'. So CTF > info is embedded in the `.ko' file. > * tests/data/Makefile.am: Add test inputs and expected files. > * tests/data/test-read-ctf/test-linux-module.{ko,c,abi}: Add > new test input and reference kABI. > * tests/test-read-ctf.cc: Add new testcase. > > Signed-off-by: Guillermo E. Martinez Applied to master, thanks! [...] Cheers, --=20 Dodji