Debian的CPUInfo可以自定义显示内容,方法如下:
/proc/cpuinfo
grep
awk
/arch/riscv/kernel/cpu.c
seq_printf
不过,直接修改/proc/cpuinfo文件可能影响系统稳定性和兼容性,需谨慎操作。