[PATCH 4.19 14/30] perf bench: Share some global variables to fix build with gcc 10