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文件里面只有线程状态,其他什么都没有 + 1 #130

Open
HunanDj opened this issue May 23, 2024 · 7 comments
Open

Comments

@HunanDj
Copy link

HunanDj commented May 23, 2024

PC环境:ubuntu22.04
手机环境:小米13 android12 app正常启动
apk文件:
app-debug.zip
编译环境:我就是用该项目的默认配置,AGP,java1.8

20240523-122353

@WangFeng-AHU
Copy link
Collaborator

麻烦抓 trace 时加上 -debug 参数提供一下 PC 端的脚本运行日志吧

@HunanDj
Copy link
Author

HunanDj commented May 24, 2024

log.txt
您好,这是日志,麻烦帮忙看看。

@HunanDj
Copy link
Author

HunanDj commented May 24, 2024

all_build.zip
您好,这是我用demo执行后的全部产物,麻烦帮忙看看

@WangFeng-AHU
Copy link
Collaborator

我在 linux 环境下没有复现问题,能否发下你那边生成的有问题的 trace 文件,我看下 trace 哪里有问题

@HunanDj
Copy link
Author

HunanDj commented May 30, 2024

您好,我的回复里面已经包含trace文件了,麻烦查看一下。

@WangFeng-AHU
Copy link
Collaborator

您好,我的回复里面已经包含trace文件了,麻烦查看一下。

@HunanDj all_build.zip 里只有中间产物文件,根据这些中间产物在我这边的 linux 环境下生成的 pb 文件是正常的,可以看到应用的执行 trace 信息,需要你提供一下你那边生成的最终产物 pb 文件

➜  all_build ll
total 36176
-rw-rw-r--@ 1 bytedance  staff   3.4M  5 23 18:00 appTrace.bin
-rw-rw-r--@ 1 bytedance  staff    54K  5 23 18:00 binder.txt
-rwx------@ 1 bytedance  staff    23K  5 23 18:00 record_android_trace
-rw-rw-r--@ 1 bytedance  staff   861K  5 23 18:00 rhea-atrace.gz
-rw-r--r--@ 1 bytedance  staff    13M  5 23 18:00 systemTrace.trace

@easternHong
Copy link

需要打开的是pb文件,不是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

3 participants