Re: [PATCH v2 0/3] Add some perf support for mips

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/04/2021 11:35 AM, Tiezhu Yang wrote:
v2: add R26 and R27 to the enum perf_event_mips_regs in patch #1

Tiezhu Yang (3):
   MIPS: kernel: Support extracting off-line stack traces from user-space
     with perf
   perf tools: Support mips unwinding and dwarf-regs
   perf tools: Generate mips syscalls_n64.c syscall table

Hi Arnaldo,

The kernel part patch #1 has been merged.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1ddc96bd42da

Could the perf tool patches #2 and #3 have a chance to be merged before 5.12-rc1?
If yes, we can use this feature in 5.12-rc1.

https://lore.kernel.org/patchwork/patch/1375476/
https://lore.kernel.org/patchwork/patch/1375475/


Thanks,
Tiezhu


  arch/mips/Kconfig                                  |   2 +
  arch/mips/include/uapi/asm/perf_regs.h             |  40 +++
  arch/mips/kernel/Makefile                          |   2 +-
  arch/mips/kernel/perf_regs.c                       |  68 ++++
  tools/perf/Makefile.config                         |   9 +-
  tools/perf/arch/mips/Makefile                      |  22 ++
  tools/perf/arch/mips/entry/syscalls/mksyscalltbl   |  32 ++
  .../perf/arch/mips/entry/syscalls/syscall_n64.tbl  | 358 +++++++++++++++++++++
  tools/perf/arch/mips/include/dwarf-regs-table.h    |  31 ++
  tools/perf/arch/mips/include/perf_regs.h           |  84 +++++
  tools/perf/arch/mips/util/Build                    |   3 +
  tools/perf/arch/mips/util/dwarf-regs.c             |  38 +++
  tools/perf/arch/mips/util/perf_regs.c              |   6 +
  tools/perf/arch/mips/util/unwind-libunwind.c       |  22 ++
  tools/perf/check-headers.sh                        |   1 +
  tools/perf/util/dwarf-regs.c                       |   3 +
  tools/perf/util/syscalltbl.c                       |   4 +
  17 files changed, 723 insertions(+), 2 deletions(-)
  create mode 100644 arch/mips/include/uapi/asm/perf_regs.h
  create mode 100644 arch/mips/kernel/perf_regs.c
  create mode 100644 tools/perf/arch/mips/Makefile
  create mode 100644 tools/perf/arch/mips/entry/syscalls/mksyscalltbl
  create mode 100644 tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl
  create mode 100644 tools/perf/arch/mips/include/dwarf-regs-table.h
  create mode 100644 tools/perf/arch/mips/include/perf_regs.h
  create mode 100644 tools/perf/arch/mips/util/Build
  create mode 100644 tools/perf/arch/mips/util/dwarf-regs.c
  create mode 100644 tools/perf/arch/mips/util/perf_regs.c
  create mode 100644 tools/perf/arch/mips/util/unwind-libunwind.c





[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux