feature:TSG-17507:在host和容器中安装js-d3-flame-graph包以支持perf输出火焰图

This commit is contained in:
fumingwei
2023-10-30 11:25:26 +08:00
parent 21d7986949
commit 362ee90ec0
2 changed files with 7 additions and 1 deletions

View File

@@ -125,3 +125,9 @@
- name: "Install python module"
shell: pip2 install -i https://pypi.tuna.tsinghua.edu.cn/simple PrettyTable==0.7.2
- name: "install flamegraphs for perf"
yum:
name: js-d3-flame-graph
conf_file: "{{ rpm_repo_config_path }}"
state: present

View File

@@ -47,7 +47,7 @@ case $profile_id in
containerd.io lrzsz python3 watchdog pcm git tmux fish kernel kernel-devel kernel-tools-libs kernel-modules
kernel-tools kernel-core rpm-build libtool kernel-rpm-macros python36-devel tcsh kernel-modules-extra gcc-gfortran
libdb-devel fuse-devel python3-Cython cmake perl-generators libstdc++-devel libmnl-devel bison flex gcc-c++
python3-docutils libnsl liburing hwloc-gui perl-open perl python2"
python3-docutils libnsl liburing hwloc-gui perl-open perl python2 js-d3-flame-graph"
;;
"TSG-X-NXR620G40-R01-P1403" | "7400-MCN0-P01R01" | "7400-MCN123-P01R01" |"9000-NPB-P01R01")