Skip to content

Unable to Connect to traced_consumer Socket in Perfetto on Android #964

Answered by LalitMaganti
EndSmile asked this question in Q&A
Discussion options

You must be logged in to vote

There are multiple parts to your question so let me go through one by one:

  1. When I ran the Perfetto command via ADB and invoked example_startup_trace, the following logs were printed in the command line

If you are trying to use the consumer side of Perfetto from your app, why are you using the adb shell perfetto command? The two things are mutually exclusive: either you are using perfetto_cmd as your consumer or your own app as your consumer. You cannot be doing both.

If the connection to traced_consumer fails, why are these logs still printed by the Perfetto command?

The answer to this needs me to understand what you are doing above.

The traced_consumer socket appears to be inacces…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@EndSmile
Comment options

@LalitMaganti
Comment options

@EndSmile
Comment options

@LalitMaganti
Comment options

@EndSmile
Comment options

Answer selected by LalitMaganti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #963 on December 09, 2024 16:13.