History log of /system/extras/simpleperf/workload.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
66dd09e8e2407082ce93bf0784de641298131912 04-Dec-2015 Elliott Hughes <enh@google.com> Track rename from base/ to android-base/.

Change-Id: Ic15d4778c7accd1382de0b440a437aba2cf67016
/system/extras/simpleperf/workload.cpp
aebe748bc4e74ccd3b040e3cb1c7d63604921d7c 25-Nov-2015 Yabin Cui <yabinc@google.com> Simpleperf: remove unnecessary exit().

Change-Id: I5256617373c3414195a7a994d0ce217d9afd47e6
/system/extras/simpleperf/workload.cpp
edae80e066445ee0b370f32a965d6a5d6dcfafee 25-Sep-2015 Yabin Cui <yabinc@google.com> am a3e9a836: Merge "Simpleperf: fix flaky workload unit tests."

* commit 'a3e9a836bf0d21dc5248622f16c60d8617f54080':
Simpleperf: fix flaky workload unit tests.
c8fcde2b9afa478740b012dee1d656c9bc8259e0 24-Sep-2015 Yabin Cui <yabinc@google.com> Simpleperf: fix flaky workload unit tests.

Move SIGABRT to SIGKILL to make sure the child process is terminated by a signal.
SIGABRT can't guarantee this because the child process can install signal handler for SIGABRT.

Add a final _exit(1) after ChildProcessFn in case execvp() fails.

Change-Id: I353720b10c6ea42826efcafce5ff2699fd246e22
/system/extras/simpleperf/workload.cpp
19c8d5f55b1ff4f6953eb53019d148adab0459a5 21-Sep-2015 Yabin Cui <yabinc@google.com> resolved conflicts for 6239958b to stage-aosp-master

Change-Id: I66d12e9a15b5e6aecd4938b9ce4ac76a0f3863e4
42aa127e8ab4c5eb5197cf3cc68470cf3a0fdcbb 18-Sep-2015 Yabin Cui <yabinc@google.com> Simpleperf: rewrite unsupported logging style.

Previously we can use a ternary operator to choose the log level, like
(error ? LOG(ERROR) : LOG(DEBUG)) << xxx. But as the LOG() macro is about
to change, we can no longer write like this.

This CL also changes some improper log levels and log messages.

Change-Id: Ib9a55f2ca241516a6e89afad4a733cc07b19570f
/system/extras/simpleperf/workload.cpp
8acc1fc01c91734a51ecdac25dcbc7733ea1b7f9 13-Jul-2015 Yabin Cui <yabinc@google.com> am e7da7e9b: Simpleperf: remove abort in child process.

* commit 'e7da7e9b27ca050a12efa36207ea6b9218cc684d':
Simpleperf: remove abort in child process.
e7da7e9b27ca050a12efa36207ea6b9218cc684d 11-Jul-2015 Yabin Cui <yabinc@google.com> Simpleperf: remove abort in child process.

Bug: 22328419
Change-Id: I3521a246929c10dc1eb9c9dac75240197b5b0a40
/system/extras/simpleperf/workload.cpp
621a533ec28dbbf8634211c684456b4bbc1bc0fb 16-Jun-2015 Yabin Cui <yabinc@google.com> Simpleperf: add signal handler for SIGCHLD, SIGINT, SIGTERM.

And rely on signal to decide when to stop in record/stat command.

Bug: 19483574
Change-Id: I564cb61e74ea81cffe4de5b050482b3250ed9a06
/system/extras/simpleperf/workload.cpp
7d4904d5fc038f8125cfc63a5eaa4669ee2aebda 09-Jun-2015 Yabin Cui <yabinc@google.com> Simpleperf: fix a few bugs.

Fix mistyped word.
Kill workload process when exiting.
Add checking of whether branch sampling is supported.

Bug: 19483574

Change-Id: Ibe48914cd92da1ee40bf67c0c47a6376a7291e8c
/system/extras/simpleperf/workload.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/workload.cpp
ed91cd9ab32a3130bc2a4b15b0ac3cfca58c259f 29-Apr-2015 Yabin Cui <yabinc@google.com> Implement simpleperf record/dumprecord subcommands.

(cherry picked from commit 9759e1b1ce76185aa539aeea2fb1cbd8382156e7)

Bug: 19483574

Change-Id: Id879713a75c2d3a6289d8847b95ee0bb4a2cc8a0
/system/extras/simpleperf/workload.cpp
9759e1b1ce76185aa539aeea2fb1cbd8382156e7 29-Apr-2015 Yabin Cui <yabinc@google.com> Implement simpleperf record/dumprecord subcommands.

Bug: 19483574

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