Skip to content

Commit e5e66ad

Browse files
Dapeng Miacmel
authored andcommitted
perf regs: Remove __weak attributive arch_sdt_arg_parse_op() function
In line with the previous patch, the __weak arch_sdt_arg_parse_op() function is removed. Architectural-specific implementations in the arch/ directory are now converted into sub-functions within the util/perf-regs-arch/ directory. The perf_sdt_arg_parse_op() function will call these sub-functions based on the EM_HOST. This change enables cross-architecture calls to arch_sdt_arg_parse_op(). No functional changes are intended. Suggested-by: Ian Rogers <irogers@google.com> Reviewed-by: Ian Rogers <irogers@google.com> Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Albert Ou <aou@eecs.berkeley.edu> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Alexandre Ghiti <alex@ghiti.fr> Cc: Guo Ren <guoren@kernel.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: James Clark <james.clark@linaro.org> Cc: John Garry <john.g.garry@oracle.com> Cc: Mike Leach <mike.leach@linaro.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Palmer Dabbelt <palmer@dabbelt.com> Cc: Paul Walmsley <pjw@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Falcon <thomas.falcon@intel.com> Cc: Will Deacon <will@kernel.org> Cc: Xudong Hao <xudong.hao@intel.com> Cc: Zide Chen <zide.chen@intel.com> [ Fixed up somme fuzz with powerpc and x86 Build files wrt removing perf_regs.o ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 16dccbb commit e5e66ad

12 files changed

Lines changed: 441 additions & 473 deletions

File tree

tools/perf/arch/arm64/util/Build

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@ perf-util-y += header.o
77
perf-util-y += hisi-ptt.o
88
perf-util-y += machine.o
99
perf-util-y += mem-events.o
10-
perf-util-y += perf_regs.o
1110
perf-util-y += pmu.o
1211
perf-util-y += tsc.o

tools/perf/arch/arm64/util/perf_regs.c

Lines changed: 0 additions & 105 deletions
This file was deleted.

tools/perf/arch/powerpc/util/Build

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
perf-util-y += header.o
2-
perf-util-y += perf_regs.o
32
perf-util-y += mem-events.o
43
perf-util-y += pmu.o
54
perf-util-y += sym-handling.o

tools/perf/arch/powerpc/util/perf_regs.c

Lines changed: 0 additions & 125 deletions
This file was deleted.

tools/perf/arch/x86/util/Build

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
perf-util-y += header.o
22
perf-util-y += tsc.o
33
perf-util-y += pmu.o
4-
perf-util-y += perf_regs.o
54
perf-util-y += topdown.o
65
perf-util-y += machine.o
76
perf-util-y += event.o

0 commit comments

Comments
 (0)