diff options
author | Yabin Cui <yabinc@google.com> | 2017-04-18 12:41:46 -0700 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2017-04-18 13:31:42 -0700 |
commit | 6da361fd2ff9169954dcfb3588cacc3b4b6df19c (patch) | |
tree | 023db521afd6835ebe87da732270c2a1d3c2ccb0 /simpleperf/README.md | |
parent | 30257fab6d3f3ce0eff6b37b7dcce79c5b1aa268 (diff) | |
download | extras-6da361fd2ff9169954dcfb3588cacc3b4b6df19c.tar.gz |
simpleperf: add warning for `--call-graph fp` option on arm.
Bug: http://b/37443666
Test: run simpleperf_unit_test.
Change-Id: Ie376babab1aa5ec887c8d640266fbce9a0928290
Diffstat (limited to 'simpleperf/README.md')
-rw-r--r-- | simpleperf/README.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/simpleperf/README.md b/simpleperf/README.md index 5412f906..5700c8aa 100644 --- a/simpleperf/README.md +++ b/simpleperf/README.md @@ -582,6 +582,12 @@ but not well on arm). angler:/data/data/com.example.sudogame $./simpleperf record -p 10324 --call-graph fp --symfs . --duration 30 simpleperf I 01-01 10:03:58 11267 11267 cmd_record.cpp:341] Samples recorded: 56736. Samples lost: 0. +**Recording stack frame based call graph doesn't work well on arm architecture,** +**even if compiled using -O0 -g -fno-omit-frame-pointer options. It is because** +**the kernel can't unwind user stack containing both arm/thumb code. So please** +**consider using dwarf based call graph on arm architecture, or profiling in** +**aarch64 environment.** + #### Report call graph Report accumulated period. In the table below, the first column is “Children”, it is the cpu cycle percentage of a function and functions called by that |