buildtools: fix experimental symbols listing
authorDavid Marchand <david.marchand@redhat.com>
Mon, 25 Nov 2019 08:10:06 +0000 (09:10 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 26 Nov 2019 08:04:36 +0000 (09:04 +0100)
commit72e75e1f1bd72f22e5a31d9d0a95b46ddf247c54
tree0017dd89ff3c62f9a13af7b0c5ce66b23ca92d4b
parentbdc993fa3dc38d6ae2d4d1480604556bc20a5522
buildtools: fix experimental symbols listing

The map-list-symbol.sh script displays the filename, section and symbol
names of map files.

Example:
$ buildtools/map-list-symbol.sh -S EXPERIMENTAL \
    lib/librte_ethdev/rte_ethdev_version.map |grep rte_mtr_create
lib/librte_ethdev/rte_ethdev_version.map EXPERIMENTAL rte_mtr_create

The experimental symbol check should only consider the symbol name.

Fixes: 3290ac14eb94 ("buildtools: detect discrepancies for experimental symbols")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Tested-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
buildtools/check-experimental-syms.sh