No Profiles Generated

264 views
Skip to first unread message

Wanfeng Ma

unread,
Aug 17, 2023, 4:41:36 AM8/17/23
to Perfetto Development - www.perfetto.dev
Hello, When I try to capture perfetto native heap by heap_profile script, some times I get the correct result, but sometimes I can't get raw-trace file correctly.
The debuggle Info is:
报错.png
The log Info and the wrong raw-trace is in appendix,  what should i do to solve the problem? thank you !

Note: Only generate a raw-trace file and can't be opened.
3262260b__Battle5v5__raw-trace
logcat.txt

Daniele Di Proietto

unread,
Aug 17, 2023, 1:24:59 PM8/17/23
to Wanfeng Ma, Perfetto Development - www.perfetto.dev
I can't see anything wrong in the logs you shared.

Is it possible that you're shutting down the trace too early and the profiler doesn't have time to write the data?

Sorry, without reproducing the problem it is hard to understand what's going on.

--
You received this message because you are subscribed to the Google Groups "Perfetto Development - www.perfetto.dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to perfetto-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/perfetto-dev/65c6377b-fea1-4e57-b70a-f282a808f6b0n%40googlegroups.com.

Wanfeng Ma

unread,
Aug 17, 2023, 10:09:47 PM8/17/23
to Perfetto Development - www.perfetto.dev
Sorry,I can‘t understand the meaning of shutting down the trace too ealry,  When I want to shut down the trace, then I only input contrl+C without do other thing waiting for trace finished, I can't control the time of profile write to data finished, can you give me some more detail infomation about the process?  

And can you provided me some solution that can finish trace sufficiently?

Thank you!

Daniele Di Proietto

unread,
Aug 18, 2023, 11:27:43 AM8/18/23
to Wanfeng Ma, Perfetto Development - www.perfetto.dev
On Fri, Aug 18, 2023 at 3:09 AM Wanfeng Ma <wanf...@gmail.com> wrote:
Sorry,I can‘t understand the meaning of shutting down the trace too ealry,  When I want to shut down the trace, then I only input contrl+C without do other thing waiting for trace finished, I can't control the time of profile write to data finished, can you give me some more detail infomation about the process?

You're right. But if you stop the trace too early it's possible that perfetto doesn't even have the time to receive any data from your process, so it doesn't know it needs to wait. I don't think this is your problem, I was merely asking if you noticed any pattern in your traces (i.e., if you wait longer you're more likely to see some data in the trace).
 

And can you provided me some solution that can finish trace sufficiently?

Sorry, without being able to reproduce the problem, I can't provide a solution. 

Thank you!

On Thursday, August 17, 2023 at 4:41:36 PM UTC+8 Wanfeng Ma wrote:
Hello, When I try to capture perfetto native heap by heap_profile script, some times I get the correct result, but sometimes I can't get raw-trace file correctly.
The debuggle Info is:
报错.png
The log Info and the wrong raw-trace is in appendix,  what should i do to solve the problem? thank you !

Note: Only generate a raw-trace file and can't be opened.

--
You received this message because you are subscribed to the Google Groups "Perfetto Development - www.perfetto.dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to perfetto-dev...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages