26968e6c48dea2eaa217991ade5a04e801f1be8f |
|
30-Jan-2017 |
Yabin Cui <yabinc@google.com> |
simpleperf: add inplace-sampler event type. Add inplace-sampler event type, so it can be used in record/list command. This cl doesn't add code for communicating with profiled process, and fake records in InplaceSamplerClient.cpp for testing purpose. Refactor runtest.py to test inplace-sampler profiling. Bug: http://b/30974760 Test: run runtest.py --inplace-sampler. Change-Id: I92d8b03583c58b3589207f5c655e03853899be3a
/system/extras/simpleperf/event_type.h
|
c10a9dce1f1faa292317c815205d821fd1f859be |
|
15-Jun-2016 |
Yabin Cui <yabinc@google.com> |
simpleperf: add type modifier when reporting events. Before the change: $simpleperf record -e cpu-cycles:u sleep 1 $simpleperf report ... Event: cpu-cycles (type 0, config 0) ... After the change: $simpleperf report ... Event: cpu-cycles:u (type 0, config 0) ... Change-Id: I296c5476e03250e928ed0f579483d6866576d417
/system/extras/simpleperf/event_type.h
|
04d08a35c5e1cabdf6eb7397536a790b0ff44459 |
|
20-Aug-2015 |
Yabin Cui <yabinc@google.com> |
Simpleperf: improve output of stat command. Before this change: $sudo simpleperf record -a sleep 1 Performance counter statistics: 5994649915(scaled) cpu-cycles 8785461570(scaled) stalled-cycles-frontend 6089237592(scaled) instructions 1086987265(scaled) branch-instructions 11019426(scaled) branch-misses 40306210522 task-clock 21955 context-switches 16659 page-faults Total test time: 1.007973 seconds. After this change: $sudo simpleperf record -a sleep 1 Performance counter statistics: 11,768,763,985 cpu-cycles # 11.675808 Ghz (83%) 16,142,943,081 stalled-cycles-frontend # 16.015 G/sec (67%) 17,286,201,730 instructions # 0.680818 cycles per instruction (83%) 3,141,529,369 branch-instructions # 3.117 G/sec (84%) 18,168,963 branch-misses # 0.578348% miss rate (83%) 40222.432118(ms) task-clock # 3990.473223% cpu usage (100%) 19,240 context-switches # 19.088 K/sec (100%) 9,302 page-faults # 9.229 K/sec (100%) Total test time: 1.007961 seconds. Change-Id: I5590699957650e246b14b3d2b405108483631908
/system/extras/simpleperf/event_type.h
|
5872ac6f1f5b804ffea38ff59025441618802d6b |
|
01-Aug-2015 |
Yabin Cui <yabinc@google.com> |
Simpleperf: correct the event type name printed in stat command. Bug: 22884977 Change-Id: I3c4f5c8dc02d5b17f5942e4e98476d1c4f3fbcad
/system/extras/simpleperf/event_type.h
|
9fd3cc1048a3d0338df4a48760dfd655560992a1 |
|
26-Jun-2015 |
Yabin Cui <yabinc@google.com> |
Simpleperf: support build on mac. Bug: 19483574 Change-Id: I6c28541944bc0a4e6fc07d7ea5a8fb5f71890510
/system/extras/simpleperf/event_type.h
|
d115b2f738f2cef352877b26c2d93460ac9fea25 |
|
15-Jun-2015 |
Yabin Cui <yabinc@google.com> |
Simpleperf: support event type modifier. Also fix a bug in event_attr dumping. Bug: 19483574 Change-Id: I255647d1471acab3a63c3dc787ab06b3d2bee294
/system/extras/simpleperf/event_type.h
|
f569b478e74560a2d9e29a96824e16b93a55b97f |
|
30-Apr-2015 |
Yabin Cui <yabinc@google.com> |
Support tracepoint event types in simpleperf. Also support options in `simpleperf list`, add test about tracepoint event types. Bug: 19483574 Change-Id: I2d2c2f300fe5e2968696228899084410aa9f29a4
/system/extras/simpleperf/event_type.h
|
9759e1b1ce76185aa539aeea2fb1cbd8382156e7 |
|
29-Apr-2015 |
Yabin Cui <yabinc@google.com> |
Implement simpleperf record/dumprecord subcommands. Bug: 19483574 Change-Id: Id879713a75c2d3a6289d8847b95ee0bb4a2cc8a0
/system/extras/simpleperf/event_type.h
|
67d3abd7b26a741347b33402ad32f5c6735ca0bd |
|
17-Apr-2015 |
Yabin Cui <yabinc@google.com> |
Implement simpleperf list subcommand. simpleperf is used to replace linux/tools/perf. And This CL implements the list subcommand of it. Change-Id: I3e6fe854e19cc370070d0fd8416d0aa6fa8f8e90
/system/extras/simpleperf/event_type.h
|