[PATCH] devtools: list symbols by version

Stephen Hemminger stephen at networkplumber.org
Fri Aug 11 19:13:19 CEST 2023


On Fri, 11 Aug 2023 17:49:44 +0200
David Marchand <david.marchand at redhat.com> wrote:

> Make it easier to list experimental symbols added in a certain version.
> While at it, add a check on map symbol files content to avoid breaking
> this listing tool.
> 
> Example:
> $ ./buildtools/map-list-symbol.sh -V 18.11 lib/eal/version.map
> lib/eal/version.map EXPERIMENTAL rte_dev_event_callback_process
> lib/eal/version.map EXPERIMENTAL rte_dev_hotplug_handle_disable
> lib/eal/version.map EXPERIMENTAL rte_dev_hotplug_handle_enable
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>

Acked-by: Stephen Hemminger <stephen at networkplumber.org>

Script would probably be cleaner in Python with elftools package.
Using awk to parse map output is getting messy.


More information about the dev mailing list