libtraceevent: Fix build with binutils 2.35
authorBen Hutchings <ben@decadent.org.uk>
Sat, 25 Jul 2020 01:06:23 +0000 (02:06 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 31 Jul 2020 12:31:55 +0000 (09:31 -0300)
commit39efdd94e314336f4acbac4c07e0f37bdc3bef71
tree76f6abb5719d0b91b8d53b64c9f3aa8c97123d31
parentbd3c628f8fafa6cbd6a1ca440034b841f0080160
libtraceevent: Fix build with binutils 2.35

In binutils 2.35, 'nm -D' changed to show symbol versions along with
symbol names, with the usual @@ separator.  When generating
libtraceevent-dynamic-list we need just the names, so strip off the
version suffix if present.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Tested-by: Salvatore Bonaccorso <carnil@debian.org>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Cc: linux-trace-devel@vger.kernel.org
Cc: stable@vger.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/traceevent/plugins/Makefile