[docs] Update instructions for profiling on ChromeOS
Bug: 40096218 Change-Id: I78d9234e5df09de6ba613cabc0415c3ebf1cca8e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6373246 Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Auto-Submit: Igor Sheludko <ishell@chromium.org> Reviewed-by: Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/main@{#1434952}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
32cb3e324e
commit
2bf6cd28b3
@ -184,7 +184,9 @@ Here's an example:
|
||||
[ perf record: Captured and wrote 100.797 MB perf.data (489478 samples) ]
|
||||
localhost /tmp/perf # exit
|
||||
$ scp root@chromeos-box:/tmp/perf/perf.data .
|
||||
$ pprof -web out_${SDK_BOARD}/Release/chrome perf.data
|
||||
$ PPROF_BINARY_PATH=out_${BOARD}/Release pprof -web perf.data
|
||||
or
|
||||
$ PPROF_BINARY_PATH=out_${BOARD}/Release pprof -flame perf.data
|
||||
|
||||
Note: this will complain about missing chromeos symbols. Even pointing
|
||||
PPROF\_BINARY\_PATH at the expanded `debug-board.tgz` file that came along with
|
||||
|
Reference in New Issue
Block a user