Re: [PATCH] Getter and setter for Dwfl's offline_next_address

2024-03-24 Thread Martin Rodriguez Reboredo
On 3/24/24 14:08, Mark Wielaard wrote: Hi Martin, On Sun, Mar 24, 2024 at 11:11:21AM -0300, Martin Rodriguez Reboredo wrote: [...] So this patch is kinda pointless, but at least I've managed to learn what I was missing. Anyways, thanks for the heads-up. :) I don't think it was

Re: [PATCH] Getter and setter for Dwfl's offline_next_address

2024-03-24 Thread Martin Rodriguez Reboredo
On 3/20/24 19:52, Mark Wielaard wrote: Hi Martin, On Wed, Mar 06, 2024 at 04:22:49PM -0300, Martin Rodriguez Reboredo wrote: Added new functions dwfl_get_offline_next_address and dwfl_set_offline_next_address which will get plus set said field from the Dwfl struct. This is a requirement for

[PATCH] Getter and setter for Dwfl's offline_next_address

2024-03-06 Thread Martin Rodriguez Reboredo
: Martin Rodriguez Reboredo --- This is meant to replace a patch that only had the setter [1]. Link: https://sourceware.org/pipermail/elfutils-devel/2024q1/006874.html [1] libdwfl/libdwfl.h| 6 + libdwfl/offline.c| 12 ++ tests/dwfl-offline-address.c | 43

Re: [PATCH] Setter for Dwfl's offline_next_address

2024-03-02 Thread Martin Rodriguez Reboredo
On 3/2/24 21:05, Mark Wielaard wrote: Hi Martin, [...] It would be interesting to see the perf tool patch. I don't understand the use case. So I assume perf currently does something which is wrong and with your patch calling this new dwfl_set_offline_next_addres it will do the right thing. That

Re: [PATCH] Setter for Dwfl's offline_next_address

2024-03-02 Thread Martin Rodriguez Reboredo
Oh hi Mark! On 3/2/24 17:47, Mark Wielaard wrote: Hi Martin, On Fri, Mar 01, 2024 at 05:04:05PM -0300, Martin Rodriguez Reboredo wrote: Added a new function dwfl_set_offline_next_addres which will set said field from the Dwfl struct. This is a requirement for listing functions from their

[PATCH] Setter for Dwfl's offline_next_address

2024-03-01 Thread Martin Rodriguez Reboredo
Added a new function dwfl_set_offline_next_addres which will set said field from the Dwfl struct. This is a requirement for listing functions from their addresses when using libdwfl offline, otherwise wrong symbols are going to be returned. Signed-off-by: Martin Rodriguez Reboredo --- libdwfl