OSDN Git Service

Implement simpleperf stat subcommand.
authorYabin Cui <yabinc@google.com>
Tue, 21 Apr 2015 01:07:17 +0000 (18:07 -0700)
committerYabin Cui <yabinc@google.com>
Thu, 23 Apr 2015 21:45:23 +0000 (14:45 -0700)
commit323e945313b190373b3fcfe578e25ee8390a76d3
treee5019d88e283415b0f3d6e14c1c91df740110145
parent67d3abd7b26a741347b33402ad32f5c6735ca0bd
Implement simpleperf stat subcommand.

Also add some simple unit-tests.

Change-Id: Ic30a2d4a879e028a8c82babbaf82e322fc49a838
21 files changed:
simpleperf/Android.mk
simpleperf/cmd_list.cpp
simpleperf/cmd_list_test.cpp [new file with mode: 0644]
simpleperf/cmd_stat.cpp [new file with mode: 0644]
simpleperf/cmd_stat_test.cpp [new file with mode: 0644]
simpleperf/command.cpp
simpleperf/command.h
simpleperf/command_test.cpp [new file with mode: 0644]
simpleperf/environment.cpp [new file with mode: 0644]
simpleperf/environment.h [new file with mode: 0644]
simpleperf/environment_test.cpp [new file with mode: 0644]
simpleperf/event_attr.cpp
simpleperf/event_fd.cpp
simpleperf/event_fd.h
simpleperf/gtest_main.cpp [new file with mode: 0644]
simpleperf/main.cpp
simpleperf/utils.cpp
simpleperf/utils.h
simpleperf/workload.cpp [new file with mode: 0644]
simpleperf/workload.h [new file with mode: 0644]
simpleperf/workload_test.cpp [new file with mode: 0644]