在Arch Linux
中,我想使用trace-cmd的前端Ftrace
。但不幸的是,它不存在:
# pacman -S trace-cmd
error: target not found: trace-cmd
我尝试在Arch Linux 软件包站点中查找,仍然没有结果。那么是否有任何开箱即用的前端提供Arch Linux
?
在Arch Linux
中,我想使用trace-cmd的前端Ftrace
。但不幸的是,它不存在:
# pacman -S trace-cmd
error: target not found: trace-cmd
我尝试在Arch Linux 软件包站点中查找,仍然没有结果。那么是否有任何开箱即用的前端提供Arch Linux
?
经过搜索和实验,我发现有两种方法:
(1)使用源代码,trace-cmd
只需克隆&制作:
$ git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/rostedt/trace-cmd/
$ cd trace-cmd
$ make
$ make install
(2)trace-cmd
在用户存储库中:
$ git clone https://aur.archlinux.org/trace-cmd.git
$ cd trace-cmd
$ makepkg -si