【问题标题】:What is the Ftrace front-end in Arch Linux?Arch Linux 中的 Ftrace 前端是什么?
【发布时间】:2017-03-20 13:49:23
【问题描述】:

Arch Linux,我想用trace-cmdFtrace的前端。但不幸的是,它不存在:

# pacman -S trace-cmd
error: target not found: trace-cmd

我尝试在Arch Linux package site 中查找,仍然没有结果。那么Arch Linux有没有开箱即用的前端呢?

【问题讨论】:

    标签: linux archlinux ftrace


    【解决方案1】:

    经过搜索和实验,我发现有两种方法:
    (1) 使用trace-cmdsource code,只需克隆&制作:

    $ git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/rostedt/trace-cmd/  
    $ cd trace-cmd
    $ make
    $ make install
    

    (2)trace-cmduser repository中:

    $ git clone https://aur.archlinux.org/trace-cmd.git
    $ cd trace-cmd
    $ makepkg -si
    

    【讨论】:

      猜你喜欢
      • 2022-06-12
      • 2016-01-09
      • 2013-11-08
      • 2020-04-11
      • 1970-01-01
      • 2014-03-11
      • 2013-11-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多