]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
perf jevents: Relocate test events to cpu folder
authorJohn Garry <john.garry@huawei.com>
Thu, 29 Jul 2021 13:56:17 +0000 (21:56 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 10 Aug 2021 14:47:09 +0000 (11:47 -0300)
In future to add support for sys events, relocate the core and uncore
events to a cpu folder.

Signed-off-by: John Garry <john.garry@huawei.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: linuxarm@huawei.com
Link: https //lore.kernel.org/r/1627566986-30605-3-git-send-email-john.garry@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/pmu-events/arch/test/test_soc/cpu/branch.json [moved from tools/perf/pmu-events/arch/test/test_cpu/branch.json with 100% similarity]
tools/perf/pmu-events/arch/test/test_soc/cpu/cache.json [moved from tools/perf/pmu-events/arch/test/test_cpu/cache.json with 100% similarity]
tools/perf/pmu-events/arch/test/test_soc/cpu/other.json [moved from tools/perf/pmu-events/arch/test/test_cpu/other.json with 100% similarity]
tools/perf/pmu-events/arch/test/test_soc/cpu/uncore.json [moved from tools/perf/pmu-events/arch/test/test_cpu/uncore.json with 100% similarity]
tools/perf/pmu-events/jevents.c

index 9604446f8360be061a5e5c911c9c29fad6e224c6..405bdd36b9b9f42d3198c4226da03b9bccc626f0 100644 (file)
@@ -814,7 +814,7 @@ static void print_mapping_test_table(FILE *outfp)
        fprintf(outfp, "\t.cpuid = \"testcpu\",\n");
        fprintf(outfp, "\t.version = \"v1\",\n");
        fprintf(outfp, "\t.type = \"core\",\n");
-       fprintf(outfp, "\t.table = pme_test_cpu,\n");
+       fprintf(outfp, "\t.table = pme_test_soc_cpu,\n");
        fprintf(outfp, "},\n");
 }