summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/Build
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2015-09-05 21:02:20 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-09-14 17:50:18 +0200
commite8210cefb7e1ec0760a6fe581ad0727a2dcf8dd1 (patch)
treef170717b9571460c425120bc5c73c59b9cfb5fc8 /tools/perf/util/Build
parentperf test: Add entry to test cpu topology (diff)
downloadlinux-e8210cefb7e1ec0760a6fe581ad0727a2dcf8dd1.tar.xz
linux-e8210cefb7e1ec0760a6fe581ad0727a2dcf8dd1.zip
perf tests: Introduce iterator function for tests
In preparation for introducing more arrays of tests, e.g. "arch tests" (architecture-specific tests), abstract the code to iterate over the list of tests into a helper function. This way, code that uses a 'struct test' doesn't need to worry about how the tests are grouped together and changes to the list of tests doesn't require changes to the code using it. Signed-off-by: Matt Fleming <matt.fleming@intel.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Andi Kleen <andi@firstfloor.org> Cc: Kanaka Juvva <kanaka.d.juvva@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Vikas Shivappa <vikas.shivappa@intel.com> Cc: Vince Weaver <vince@deater.net> Link: http://lkml.kernel.org/r/1441479742-15402-2-git-send-email-matt@codeblueprint.co.uk Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/Build')
0 files changed, 0 insertions, 0 deletions