Thread (3 messages) 3 messages, 3 authors, 2020-05-05

Re: [PATCH] perf cs-etm: Move defined of traceid_list

From: Arnaldo Carvalho de Melo <acme@kernel.org>
Date: 2020-05-05 16:17:02
Also in: lkml

Em Tue, May 05, 2020 at 08:52:18AM -0600, Mathieu Poirier escreveu:
On Tue, 5 May 2020 at 07:37, Leo Yan [off-list ref] wrote:
quoted
The variable 'traceid_list' is defined in the header file cs-etm.h,
if multiple C files include cs-etm.h the compiler might complaint for
multiple definition of 'traceid_list'.

To fix multiple definition error, move the definition of 'traceid_list'
into cs-etm.c.

Fixes: cd8bfd8c973e ("perf tools: Add processing of coresight metadata")
Reported-by: Thomas Backlund <redacted>
Signed-off-by: Leo Yan <redacted>
Reviewed-by: Mike Leach <redacted>
Tested-by: Mike Leach <redacted>
 };

-/* RB tree for quick conversion between traceID and metadata pointers */
-struct intlist *traceid_list;
-
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>

Thanks, applied,

- Arnaldo

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help