diff options
| author | Matt Fleming <[email protected]> | 2015-09-05 19:02:20 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-09-14 15:50:18 +0000 |
| commit | e8210cefb7e1ec0760a6fe581ad0727a2dcf8dd1 (patch) | |
| tree | f170717b9571460c425120bc5c73c59b9cfb5fc8 /tools/perf/builtin-annotate.c | |
| parent | perf test: Add entry to test cpu topology (diff) | |
| download | kernel-e8210cefb7e1ec0760a6fe581ad0727a2dcf8dd1.tar.gz kernel-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 <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Kanaka Juvva <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Vikas Shivappa <[email protected]>
Cc: Vince Weaver <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions
