Skip to content

Commit a573268

Browse files
committed
perf tests: Rename tests/map_groups.c to tests/maps.c
One more step in mergint the maps and map_groups structs. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-bw6aagubqxc47m54k2maezfu@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 6d38267 commit a573268

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎tools/perf/tests/Build‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ perf-y += perf-hooks.o
5252
perf-y += clang.o
5353
perf-y += unit_number__scnprintf.o
5454
perf-y += mem2node.o
55-
perf-y += map_groups.o
55+
perf-y += maps.o
5656
perf-y += time-utils-test.o
5757

5858
$(OUTPUT)tests/llvm-src-base.c: tests/bpf-script-example.c tests/Build

‎tools/perf/tests/builtin-test.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ static struct test generic_tests[] = {
297297
.func = test__time_utils,
298298
},
299299
{
300-
.desc = "map_groups__merge_in",
301-
.func = test__map_groups__merge_in,
300+
.desc = "maps__merge_in",
301+
.func = test__maps__merge_in,
302302
},
303303
{
304304
.func = NULL,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ static int check_maps(struct map_def *merged, unsigned int size, struct maps *ma
3333
return TEST_OK;
3434
}
3535

36-
int test__map_groups__merge_in(struct test *t __maybe_unused, int subtest __maybe_unused)
36+
int test__maps__merge_in(struct test *t __maybe_unused, int subtest __maybe_unused)
3737
{
3838
struct maps maps;
3939
unsigned int i;

‎tools/perf/tests/tests.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const char *test__clang_subtest_get_desc(int subtest);
107107
int test__clang_subtest_get_nr(void);
108108
int test__unit_number__scnprint(struct test *test, int subtest);
109109
int test__mem2node(struct test *t, int subtest);
110-
int test__map_groups__merge_in(struct test *t, int subtest);
110+
int test__maps__merge_in(struct test *t, int subtest);
111111
int test__time_utils(struct test *t, int subtest);
112112

113113
bool test__bp_signal_is_supported(void);

0 commit comments

Comments
 (0)