lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1d3c4abd-4b14-90e3-6528-457a8248cb52@loongson.cn>
Date:   Mon, 22 Feb 2021 14:43:39 +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: Re: [PATCH v2 0/3] Add some perf support for mips

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
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ