[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1612409724-3516-1-git-send-email-yangtiezhu@loongson.cn>
Date: Thu, 4 Feb 2021 11:35:21 +0800
From: Tiezhu Yang <yangtiezhu@...ngson.cn>
To: Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung@...nel.org>
Cc: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org,
Xuefeng Li <lixuefeng@...ngson.cn>,
Juxin Gao <gaojuxin@...ngson.cn>
Subject: [PATCH v2 0/3] Add some perf support for mips
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
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
--
2.1.0
Powered by blists - more mailing lists