Skip to contentSkip to conversation

perf tests: Remove Intel CQM perf test

PATCH New Xiaochen Shen 2 participants 2 messages Sep 19, 2017 – Sep 22, 2017 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf tests: Remove Intel CQM perf test

Intel CQM perf test is obsolete for perf PMU code has been removed in commit c39a0e2c8850 ("x86/perf/cqm: Wipe out perf based cqm").

---
 tools/perf/arch/x86/include/arch-tests.h |   1 -
 tools/perf/arch/x86/tests/Build          |   1 -
 tools/perf/arch/x86/tests/arch-tests.c   |   4 -
 tools/perf/arch/x86/tests/intel-cqm.c    | 127 -------------------------------
 4 files changed, 133 deletions(-)
 delete mode 100644 tools/perf/arch/x86/tests/intel-cqm.c
tools/perf/arch/x86/include/arch-tests.h +0 -1
index 4e0b806..01ad420 100644
@@ -8,7 +8,6 @@
 int test__rdpmc(struct test *test __maybe_unused, int subtest);
 int test__perf_time_to_tsc(struct test *test __maybe_unused, int subtest);
 int test__insn_x86(struct test *test __maybe_unused, int subtest);
-int test__intel_cqm_count_nmi_context(struct test *test __maybe_unused, int subtest);
 
 #ifdef HAVE_DWARF_UNWIND_SUPPORT
 struct thread;
tools/perf/arch/x86/tests/Build +0 -1
index cbb7e97..8e2c5a3 100644
@@ -5,4 +5,3 @@ libperf-y += arch-tests.o
 libperf-y += rdpmc.o
 libperf-y += perf-time-to-tsc.o
 libperf-$(CONFIG_AUXTRACE) += insn-x86.o
-libperf-y += intel-cqm.o
tools/perf/arch/x86/tests/arch-tests.c +0 -4
index 99d6619..271c0a0 100644
@@ -24,10 +24,6 @@ struct test arch_tests[] = {
 	},
 #endif
 	{
-		.desc = "Intel cqm nmi context read",
-		.func = test__intel_cqm_count_nmi_context,
-	},
-	{
 		.func = NULL,
 	},
 
tools/perf/arch/x86/tests/intel-cqm.c deleted +0 -127

127 lines not on this page · raw message

Signature · 1 line
1.8.3.1
#1 lore raw
perf tests: Remove Intel CQM perf test
Commit-ID:  5c9295bfe6f5f59f3f2eee78f58b0523d117897e
Gitweb:     http://git.kernel.org/tip/5c9295bfe6f5f59f3f2eee78f58b0523d117897e
Author:     Xiaochen Shen <[email protected]>
AuthorDate: Tue, 19 Sep 2017 12:57:37 +0800
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Thu, 21 Sep 2017 13:12:58 -0300

perf tests: Remove Intel CQM perf test

Intel CQM perf test is obsolete for perf PMU code has been removed in commit c39a0e2c8850 ("x86/perf/cqm: Wipe out perf based cqm").

---
 tools/perf/arch/x86/include/arch-tests.h |   1 -
 tools/perf/arch/x86/tests/Build          |   1 -
 tools/perf/arch/x86/tests/arch-tests.c   |   4 -
 tools/perf/arch/x86/tests/intel-cqm.c    | 127 -------------------------------
 4 files changed, 133 deletions(-)
tools/perf/arch/x86/include/arch-tests.h +0 -1
index 4e0b806..01ad420 100644
@@ -8,7 +8,6 @@ struct test;
 int test__rdpmc(struct test *test __maybe_unused, int subtest);
 int test__perf_time_to_tsc(struct test *test __maybe_unused, int subtest);
 int test__insn_x86(struct test *test __maybe_unused, int subtest);
-int test__intel_cqm_count_nmi_context(struct test *test __maybe_unused, int subtest);
 
 #ifdef HAVE_DWARF_UNWIND_SUPPORT
 struct thread;
tools/perf/arch/x86/tests/Build +0 -1
index cbb7e97..8e2c5a3 100644
@@ -5,4 +5,3 @@ libperf-y += arch-tests.o
 libperf-y += rdpmc.o
 libperf-y += perf-time-to-tsc.o
 libperf-$(CONFIG_AUXTRACE) += insn-x86.o
-libperf-y += intel-cqm.o
tools/perf/arch/x86/tests/arch-tests.c +0 -4
index 99d6619..271c0a0 100644
@@ -24,10 +24,6 @@ struct test arch_tests[] = {
 	},
 #endif
 	{
-		.desc = "Intel cqm nmi context read",
-		.func = test__intel_cqm_count_nmi_context,
-	},
-	{
 		.func = NULL,
 	},
 
tools/perf/arch/x86/tests/intel-cqm.c deleted +0 -127

127 lines not on this page · raw message