我需要一个静态分析工具的Linux设备驱动程序,我写的ARM为基础的董事会。我正在考虑以下几个工具:
是一种计算机软件工具,已经在Linux上使用,旨在查找Linux内核中可能存在的编码错误。
有两个活动项目,旨在提高可加载内核模块的质量。
- `Linux Driver Verification` (LDV) - a comprehensive toolset for static source code verification of Linux device drivers.
- `KEDR Framework` - an extensible framework for
我想在linux中使用分析工具。我看到一些信息说Oprofile在Ubuntu12.04中是不支持的,而备用的是perf。所以我试着安装perf。
我安装了linux-tools-common、linux-base和linux-tools。
然后在终端中键入perf,它返回:
perf not found for kernel 3.12.6
You may need to install linux-tools-3.12.6-3.12.6
但我无法安装linux-tools-3.12.6-3.12.6 (我认为它是一个错误的名称)或linux-tools-3.12.6。
以这种方式安装和使用p
我知道"perf“工具需要与特定linux内核版本相对应的安装。我知道所有的docker映像都运行在相同的linux内核版本中,而不管linux发行版。
我在坞内使用ubuntu16.04,并且已经安装了linux工具-常见的,start perf告诉我,我仍然缺少一些软件包:‘
# perf
/usr/bin/perf: line 32: lsb_release: command not found
WARNING: perf not found for kernel 4.9.12
You may need to install the following packages f
我正在尝试为我的FriendlyARM编译一个Linux内核,但是我得到了这个错误:
kevin@kevin-VirtualBox:~/Desktop/FriendlyARM/linux-2.6.38-friendlyarm-newgccpatched$ make
make: arm-linux-gcc: Command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up t
我无法通过运行自动清理来清理我的磁盘空间,也不能升级,因为我一直被要求运行apt-get -f install,但是因为它不会安装完整的磁盘。自动清洗不起作用清洗不起作用。以下是我尝试运行升级时的结果:
agiles@agiles-23-1015:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to co
我有在LTS发行版上运行非发行版默认Linux内核的良好经验。更好的电源使用、硬件支持和虚拟化功能都是其中的一部分。
我使用Ubuntu获取一些.deb's并安装它们。
现在我想使用linux-tools-generic中的工具。但是,没有一个可用的包与我的内核匹配。
如何获得非标准内核的linux工具-泛型?
$ perf
WARNING: perf not found for kernel 5.9.6-050906
You may need t
我已经尝试了很长一段时间来修改内核配置,但没有成功。:-(
在meta-xxx-yyy/中有一个BSP,它的配方是-kernel/linux/linux_git.bb。我尝试覆盖名为meta-xxx-mylayer的层中的内核配置,在该层中有菜谱- kernel /linux/linux_git.bbappend和菜谱-kernel/linux/files/Fra.cfg
frag.cfg:
# CONFIG_NETFILTER is not set
CONFIG_AUTOFS4_FS=y
linux_git.bbappend:
COMPATIBLE_MACHINE_my_mach =