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

Include perfetto tracing instructions #247

Open
emilieroberts opened this issue Feb 10, 2022 · 0 comments
Open

Include perfetto tracing instructions #247

emilieroberts opened this issue Feb 10, 2022 · 0 comments
Assignees
Labels
scope: content Pertains to site content

Comments

@emilieroberts
Copy link
Contributor

Probably the best way to be tracing on Chrome OS right now.

curl -O https://raw.githubusercontent.com/google/perfetto/master/tools/record_android_trace
chmod u+x record_android_trace
  • put device in dev mode
  • connect via adb
  • use script to grab the trace : "./record_android_trace -o trace_file.perfetto-trace -t 40s -b 128mb sched freq idle am wm gfx view binder_driver hal dalvik camera input res memory"
    -- t == max length
    -- b == max size
    -- determine other flags from perfetto ui or docs
  • Read trace file with ui.perfetto.dev

Include some screen shots, links to perfetto.dev.

@emilieroberts emilieroberts self-assigned this Feb 10, 2022
@Snugug Snugug added the scope: content Pertains to site content label Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: content Pertains to site content
Projects
None yet
Development

No branches or pull requests

2 participants