mirror-linux/tools/perf/arch
Ben Zong-You Xie 9c49085d69
perf riscv: Fix the warning due to the incompatible type
In the 32-bit platform, the second argument of getline is expectd to be
'size_t *'(aka 'unsigned int *'), but line_sz is of type
'unsigned long *'. Therefore, declare line_sz as size_t.

Signed-off-by: Ben Zong-You Xie <ben717@andestech.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20240305120501.1785084-3-ben717@andestech.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2024-04-26 10:21:55 -07:00
..
alpha
arc/annotate
arm perf parse-regs: Introduce a weak function arch__sample_reg_masks() 2024-02-15 13:48:36 -08:00
arm64 treewide: remove meaningless assignments in Makefiles 2024-02-23 14:19:07 -08:00
csky perf parse-regs: Introduce a weak function arch__sample_reg_masks() 2024-02-15 13:48:36 -08:00
loongarch treewide: remove meaningless assignments in Makefiles 2024-02-23 14:19:07 -08:00
mips treewide: remove meaningless assignments in Makefiles 2024-02-23 14:19:07 -08:00
parisc
powerpc treewide: remove meaningless assignments in Makefiles 2024-02-23 14:19:07 -08:00
riscv perf riscv: Fix the warning due to the incompatible type 2024-04-26 10:21:55 -07:00
riscv64/annotate perf annotate: Add riscv64 support 2021-09-27 09:33:44 -03:00
s390 treewide: remove meaningless assignments in Makefiles 2024-02-23 14:19:07 -08:00
sh
sparc
x86 treewide: remove meaningless assignments in Makefiles 2024-02-23 14:19:07 -08:00
xtensa
Build
common.c perf tools riscv: Add support for riscv lookup_binutils_path 2023-05-12 15:21:48 -03:00
common.h perf annotate: Own objdump_path and disassembler_style strings 2023-04-04 09:39:56 -03:00