Skip to contentSkip to conversation

perf tests: Rename tests/map_groups.c to tests/maps.c

tip: perf/urgent tip-bot2 for Arnaldo Carvalho de Melo 1 participant 1 message Nov 29, 2019 1 message not in the archive perf events

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

tip-bot2 for Arnaldo Carvalho de Melo

author merge bot Applied
#1 lore raw

The following commit has been merged into the perf/urgent branch of tip:

Commit-ID:     a5732681e0e6ea0c3024f9d23bcf99b9237189ee
Gitweb:        https://git.kernel.org/tip/a5732681e0e6ea0c3024f9d23bcf99b9237189ee
Author:        Arnaldo Carvalho de Melo <[email protected]>
AuthorDate:    Mon, 25 Nov 2019 22:33:02 -03:00
Committer:     Arnaldo Carvalho de Melo <[email protected]>
CommitterDate: Tue, 26 Nov 2019 11:07:46 -03:00

perf tests: Rename tests/map_groups.c to tests/maps.c

One more step in mergint the maps and map_groups structs.

---
 tools/perf/tests/Build          |   2 +-
 tools/perf/tests/builtin-test.c |   4 +-
 tools/perf/tests/map_groups.c   | 120 +-------------------------------
 tools/perf/tests/maps.c         | 120 +++++++++++++++++++++++++++++++-
 tools/perf/tests/tests.h        |   2 +-
 5 files changed, 124 insertions(+), 124 deletions(-)
 delete mode 100644 tools/perf/tests/map_groups.c
 create mode 100644 tools/perf/tests/maps.c
tools/perf/tests/Build +1 -1
index 5b9b0a8..a3c595f 100644
@@ -52,7 +52,7 @@ perf-y += perf-hooks.o
 perf-y += clang.o
 perf-y += unit_number__scnprintf.o
 perf-y += mem2node.o
-perf-y += map_groups.o
+perf-y += maps.o
 perf-y += time-utils-test.o
 
 $(OUTPUT)tests/llvm-src-base.c: tests/bpf-script-example.c tests/Build
tools/perf/tests/builtin-test.c +2 -2
index 3a4b983..7115aa3 100644
@@ -297,8 +297,8 @@ static struct test generic_tests[] = {
 		.func = test__time_utils,
 	},
 	{
-		.desc = "map_groups__merge_in",
-		.func = test__map_groups__merge_in,
+		.desc = "maps__merge_in",
+		.func = test__maps__merge_in,
 	},
 	{
 		.func = NULL,
tools/perf/tests/map_groups.c deleted +0 -120

120 lines not on this page · raw message

tools/perf/tests/maps.c new file +120 -0

120 lines not on this page · raw message

tools/perf/tests/tests.h +1 -1
index f2b9bb0..25aea38 100644
@@ -107,7 +107,7 @@ const char *test__clang_subtest_get_desc(int subtest);
 int test__clang_subtest_get_nr(void);
 int test__unit_number__scnprint(struct test *test, int subtest);
 int test__mem2node(struct test *t, int subtest);
-int test__map_groups__merge_in(struct test *t, int subtest);
+int test__maps__merge_in(struct test *t, int subtest);
 int test__time_utils(struct test *t, int subtest);
 
 bool test__bp_signal_is_supported(void);