perf tests attr: Make compare_data global
authorJiri Olsa <jolsa@kernel.org>
Mon, 3 Jul 2017 14:50:19 +0000 (16:50 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Jul 2017 02:14:16 +0000 (23:14 -0300)
commit04c31bcf86c4fa51022ec254827f1c7c41306167
treea3ac22a2595139aca495e0bbf2b72b4be88242e3
parent10213e2ff2e0453324689eb50e73df3df1ee6163
perf tests attr: Make compare_data global

Making compare_data global, so it could be used outside
the Test class scope to compare command results.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Richter <tmricht@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20170703145030.12903-5-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/attr.py