Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么才能看到系统进程的trace呢? #118

Open
livelitoday opened this issue Dec 8, 2023 · 1 comment
Open

怎么才能看到系统进程的trace呢? #118

livelitoday opened this issue Dec 8, 2023 · 1 comment

Comments

@livelitoday
Copy link

使用命令:java -jar rhea-trace-shell.jar -a com.my.app -t 10 -o output.pb rhea.all -r sched -fullClassName -mode simple抓取trace后,打开output.pb,没有系统的trace信息,比如system_server进程信息,使用systrace是有的。
在btrace2上该怎么查看呢?

@WangFeng-AHU
Copy link
Collaborator

systrace 有的信息 btrace 也能支持,只需要把 systrace 对应开启的选项在 btrace 上也开启就行了,需要去掉 -mode simple。
以上述命令为例,sched 便是 systrace/perfetto 支持的参数,可以通过 --list 查看当前设备支持的 trace 选项。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants