Files
linux/tools/perf/util/perf-regs-arch
Thomas Richter 46a009cf0d perf record: Add support for arch_sdt_arg_parse_op() on s390
commit e5e66adfe4 ("perf regs: Remove __weak attributive arch_sdt_arg_parse_op() function")
removes arch_sdt_arg_parse_op() functions and reveals missing s390 support.
The following warning is printed:

  Unknown ELF machine 22, standard arguments parse will be skipped.

ELF machine 22 is the EM_S390 host. This happens with command
  # ./perf record -v -- stress-ng -t 1s --matrix 0
when the event is not specified.

Add s390 specific __perf_sdt_arg_parse_op_s390() function to support
-architecture calls to arch_sdt_arg_parse_op() for s390.
The warning disappears.

Signed-off-by: Thomas Richter <[email protected]>
Reviewed-by: Ian Rogers <[email protected]>
Tested-by: Jan Polensky <[email protected]>
Cc: Dapeng Mi <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
2026-03-26 14:38:54 -07:00
..
2024-06-26 11:07:42 -07:00