Re: [PATCH] perf auxtrace: Alter addr_filter__entire_dso() to work if there are no symbols

From: Adrian Hunter
Date: Mon Dec 10 2018 - 08:18:50 EST


On 27/11/18 2:42 PM, Arnaldo Carvalho de Melo wrote:
> Em Tue, Nov 27, 2018 at 10:46:34AM +0200, Adrian Hunter escreveu:
>> addr_filter__entire_dso() uses the first and last symbols from a dso,
>> and so does not work when there are no symbols. Alter it to filter the
>> whole file instead.
>
> I'm splitting this patch into a first prep one that renames and exports
> the static function dso__data_file_size() and a second that does what
> this commig log message states.
>
> The reason is that sometimes we find out that the main part of the patch
> is wrong and we then decide to revert the patch, only to realize that
> the exported function is by that time already used elsewhere.

Thanks for looking at this, but did it get lost? I don't see it in your tree.