perf intel-pt: pkt-decoder-test: Fix scope of test_data
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 24 Jan 2022 08:41:37 +0000 (10:41 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 15 Feb 2022 20:05:20 +0000 (17:05 -0300)
commit32449b430fe1df81ce1da84475fc48536264f919
tree7003d4f185d574d894111b221a64e3b3be4aac57
parentbe5764c4e276863ac30a16cb91a79d9531abe7a3
perf intel-pt: pkt-decoder-test: Fix scope of test_data

Make test_data 'static' otherwise it will conflict with any global
variable of the same name.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: https://lore.kernel.org/r/20220124084201.2699795-2-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/x86/tests/intel-pt-pkt-decoder-test.c