History log of /system/extras/simpleperf/cmd_list.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6d4959c21b0fe3fb4b4ca1758d2a595a43965ee5 02-Sep-2017 Yabin Cui <yabinc@google.com> simpleperf: support --clockid option in record cmd.

Setting clockid is supported in kernel 4.x.
Whether it is supported by the kernel can be checked
via `simpleperf list --show-features`.

Bug: http://b/65214671
Test: run simpleperf_unit_test.
Change-Id: I6f312cc62893af0fa5092ed91434b6df46435d7f
/system/extras/simpleperf/cmd_list.cpp
1944f4599ffb8ac19522a2ef988ddc414ebe5c0a 29-Jul-2017 Yabin Cui <yabinc@google.com> simpleperf: add --show-features option in list cmd.

It is used to show features supported on the device.

Bug: http://b/64147273
Test: run simpleperf_unit_test.
Change-Id: Idb7821e74d1a23f8988ef2207696114498713f47
/system/extras/simpleperf/cmd_list.cpp
43301382dadbb57fb48036df44e0d5d2ec370338 10-May-2017 Yabin Cui <yabinc@google.com> simpleperf: support raw event types.

Provide interface to access event numbers provided by ARMv8 PMU v3.
Make event types case insensitive to make typing easier.

Bug: http://b/38043209
Test: run simpleperf_unit_test.
Change-Id: I49073acbc4d8c9abeafff93e25133664c84a0e9c
/system/extras/simpleperf/cmd_list.cpp
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/cmd_list.cpp
ebf79f3a65c81ef0f8cd7a3b875771be88157fcc 02-Jun-2016 Yabin Cui <yabinc@google.com> simpleperf: check perf event limit.

The property security.perf_harden is added in https://android-review.googlesource.com/#/c/233736/5. And simpleperf needs to notice that.

Bug: 29054680
Change-Id: I5f1593f5b389d182a56c4bf3bd438a1dc2b66686
/system/extras/simpleperf/cmd_list.cpp
ff7465c896ab90c162cbcf2b141c4cdd79bf437f 25-Feb-2016 Yabin Cui <yabinc@google.com> simpleperf: fix mac build.

I forgot that mac doesn't support whole static library. Change to static library
to avoid hiting the same problem in the future.

Bug: 26962895
Change-Id: Ia8e26c2e1cf7621391e00e100b22b7ed451dfa32
/system/extras/simpleperf/cmd_list.cpp
66dd09e8e2407082ce93bf0784de641298131912 04-Dec-2015 Elliott Hughes <enh@google.com> Track rename from base/ to android-base/.

Change-Id: Ic15d4778c7accd1382de0b440a437aba2cf67016
/system/extras/simpleperf/cmd_list.cpp
9fd3cc1048a3d0338df4a48760dfd655560992a1 26-Jun-2015 Yabin Cui <yabinc@google.com> Simpleperf: support build on mac.

Bug: 19483574
Change-Id: I6c28541944bc0a4e6fc07d7ea5a8fb5f71890510
/system/extras/simpleperf/cmd_list.cpp
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/cmd_list.cpp
f79f07e13c56f7ca3be1435cea7f8861daf7efaa 01-Jun-2015 Yabin Cui <yabinc@google.com> Simpleperf: refactor command system.

Register a callback function to create a new command instance instead of
registering a command instance. Then we can release resources in the
command destructors, and don't need xxxCommandImpl classes any more.

Bug: 19483574
Change-Id: Ibb54892ec0655fd43909347afd72bb08bc8a716c
/system/extras/simpleperf/cmd_list.cpp
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/cmd_list.cpp
9759e1b1ce76185aa539aeea2fb1cbd8382156e7 29-Apr-2015 Yabin Cui <yabinc@google.com> Implement simpleperf record/dumprecord subcommands.

Bug: 19483574

Change-Id: Id879713a75c2d3a6289d8847b95ee0bb4a2cc8a0
/system/extras/simpleperf/cmd_list.cpp
323e945313b190373b3fcfe578e25ee8390a76d3 21-Apr-2015 Yabin Cui <yabinc@google.com> Implement simpleperf stat subcommand.

Also add some simple unit-tests.

Change-Id: Ic30a2d4a879e028a8c82babbaf82e322fc49a838
/system/extras/simpleperf/cmd_list.cpp
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/cmd_list.cpp