Bug 265 - 【AnolisOS7.9_rc1(aarch64)】安装oprofile这个包,执行opcontrol -l,报错提示内核不支持
Summary: 【AnolisOS7.9_rc1(aarch64)】安装oprofile这个包,执行opcontrol -l,报错提示内核不支持
Status: RESOLVED BYDESIGN
Alias: None
Product: Anolis OS 7
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 7.9
Hardware: aarch64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Shiloong
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-04 16:32 UTC by wuqian
Modified: 2022-01-05 17:49 UTC (History)
1 user (show)

See Also:


Attachments
执行opcontrol -l的截图 (191.10 KB, image/png)
2022-01-04 16:32 UTC, wuqian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wuqian uniontech_group 2022-01-04 16:32:47 UTC
Created attachment 74 [details]
执行opcontrol -l的截图

[环境]

硬件:aarch64架构的飞腾服务器

cpu: Phytium,FT-2500/128

内存:128G

硬盘:2T

软件:AnolisOS7.9_rc1(aarch64)系统iso

[前置条件]

1.完全安装操作系统。
2.root用户登录。
3.存在普通用户user。


[步骤]

1、安装oprofile这个包

2、终端执行命令opcontrol -l

[实际结果]

终端输出Kernel  dosen't support oprofile

[期望结果]

执行成功,输出oprofile: available events for CPU type "Core 2"
See Intel Architecture Developer's Manual Volume 3B, Appendix A and
Intel Architecture Optimization Reference Manual (730795-001)
For architectures using unit masks, you may be able to specify
unit masks by name.  See 'opcontrol' man page for more details.
CPU_CLK_UNHALTED: (counter: all)...
Comment 1 yunqi-zwt alibaba_cloud_group 2022-01-04 20:01:30 UTC
对应的内核模块没有开启
Comment 2 Shiloong admin 2022-01-04 20:09:54 UTC
@U
Comment 3 Shiloong admin 2022-01-04 20:21:49 UTC
@UT004788
请问内核版本多少?
ANCK-4.19 arm 版本 CONFIG_OPROFILE 没有配置, x86才有配置. CentOS 默认应该也没有配置的
Comment 4 wuqian uniontech_group 2022-01-05 09:16:16 UTC
内核版本为4.19的,如果是arm不支持的问题,请把bug状态改一下,我在关闭,谢谢啦!
Comment 5 Shiloong admin 2022-01-05 17:49:27 UTC
目前 ARM 没有开启 OPROFILE 模块, 默认不支持.