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 <[email protected]> Reviewed-by: Ian Rogers <[email protected]> Signed-off-by: Dapeng Mi <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Albert Ou <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Alexandre Ghiti <[email protected]> Cc: Guo Ren <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: James Clark <[email protected]> Cc: John Garry <[email protected]> Cc: Mike Leach <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Palmer Dabbelt <[email protected]> Cc: Paul Walmsley <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Falcon <[email protected]> Cc: Will Deacon <[email protected]> Cc: Xudong Hao <[email protected]> Cc: Zide Chen <[email protected]> [ Fixed up somme fuzz with powerpc and x86 Build files wrt removing perf_regs.o ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
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)