Skip to content

tools/perf: Add loongarch cpuinfo and fix build warning

Yanteng Si linux-perf-users loongarch 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyIn review
  2. v33 patches 2 repliesSuperseded
  3. v23 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches8 repliesSuperseded

Changes in v4 from the cover letter

* Modify commit message. [3/3]

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3perf/tools: Allow to use cpuinfo on LoongArchtools/perf/util/header.c tools/perf/util/svghelper.c+3 -10 replies
2/3perf/trace: Fix mmap_flags for archs use generic mman.htools/perf/trace/beauty/mmap_flags.sh+1 -10 replies
3/3perf/trace: Use "test -f" instead of "[-f FILE]"tools/perf/trace/beauty/mmap_flags.sh tools/perf/trace/beauty/mmap_prot.sh+9 -50 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchHuacai Chen
1/3A-b
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] tools/perf: Add loongarch cpuinfo and fix build warning

v4:
* Modify commit message. [3/3]

v3:
* Using strcasest() correctly.
* Picking Huacai's Acked tag, I seem to have lost it in the last version.

v2:
* Switch to strcasestr().
* Use "test -f" instead of "[-f FILE]".

v1:
* LoongArch and riscv don't have tools/arch/xxxxx/include/uapi/asm/mman.h, let's modify the detection rules.
* Allow to use cpuinfo on loongarch.

Yanteng Si (3):
perf/tools: Allow to use cpuinfo on LoongArch perf/trace: Fix mmap_flags for archs use generic mman.h perf/trace: Use "test -f" instead of "[-f FILE]"

 tools/perf/trace/beauty/mmap_flags.sh | 7 +++++--
 tools/perf/trace/beauty/mmap_prot.sh  | 5 +++--
 tools/perf/util/header.c              | 2 ++
 tools/perf/util/svghelper.c           | 2 +-
 4 files changed, 11 insertions(+), 5 deletions(-)
Signature · 1 line
2.31.4