From: Dodji Seketeli <dodji@seketeli.org>
To: "Guillermo E. Martinez via Libabigail" <libabigail@sourceware.org>
Cc: "Guillermo E. Martinez" <guillermo.e.martinez@oracle.com>
Subject: Re: [PATCH] tools-utils: Looks for vmlinux binary in RPM debug package
Date: Fri, 10 Mar 2023 08:49:32 +0100 [thread overview]
Message-ID: <87y1o5nj03.fsf@seketeli.org> (raw)
In-Reply-To: <875ybbpb0v.fsf@seketeli.org> (Dodji Seketeli's message of "Wed, 08 Mar 2023 15:34:24 +0100")
Hello,
[...]
> On Wed, Mar 08, 2023 at 03:34:24PM +0100, Dodji Seketeli wrote:
>> So, below is the resulting patch.
>>
>> Could you please test it in your environment and tell me if it works for
>> you, the way you expect it?
"Guillermo E. Martinez" <guillermo.e.martinez@oracle.com> a écrit:
> Working as intended.
Dodji Seketeli <dodji@seketeli.org> a écrit:
[...]
> So, below is the resulting patch.
[...]
> From dc375bd1b7f15f41665f002ec61f68ce1e7ff889 Mon Sep 17 00:00:00 2001
> From: "Guillermo E. Martinez" <guillermo.e.martinez@oracle.com>
> Date: Mon, 6 Mar 2023 09:50:38 -0600
> Subject: [PATCH] tools-utils: Fix looking for vmlinux binary in debuginfo package
>
> When abipkgdiff is invoked on a `kernel' package,
> compare_prepared_linux_kernel_packages fails to look for the `vmlinux'
> file from the debuginfo package, because of a thinko.
>
> Then, build_corpus_group_from_kernel_dist_under, also fails to find
> `vmlinux' from the debuginfo package because of another thinko.
>
> This patch fixes the two thinkos.
>
> * src/abg-tools-utils.cc
> (get_binary_paths_from_kernel_dist): Fix a thinko and really use
> the kernel_modules_root variable. Look for modules under
> kernel_modules_root and look for vmlinux (if necessary) under
> debug_info_root. Add comments.
> (compare_prepared_linux_kernel_packages): Fix another thinko. Now
> we do have the path to vmlinux, from debuginfo packages before
> getting into get_binary_paths_from_kernel_dist.
>
> Signed-off-by: Guillermo E. Martinez <guillermo.e.martinez@oracle.com>
> Signed-off-by: Dodji Seketeli <dodji@redhat.com>
OK, I have just applied this patch to master.
Thank you for time and effort. It's appreciated.
[...]
Cheers,
--
Dodji
prev parent reply other threads:[~2023-03-10 7:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-06 15:50 Guillermo E. Martinez
2023-03-07 18:57 ` [PATCH v2] abipkgdiff: Remove useless code to process kernel RPM packages Guillermo E. Martinez
2023-03-08 14:34 ` [PATCH] tools-utils: Looks for vmlinux binary in RPM debug package Dodji Seketeli
2023-03-09 23:31 ` Guillermo E. Martinez
2023-03-10 7:49 ` Dodji Seketeli [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y1o5nj03.fsf@seketeli.org \
--to=dodji@seketeli.org \
--cc=guillermo.e.martinez@oracle.com \
--cc=libabigail@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).