OSDN Git Service

Simpleperf: support monitoring existing processes/threads.
authorYabin Cui <yabinc@google.com>
Thu, 18 Jun 2015 04:15:09 +0000 (21:15 -0700)
committerYabin Cui <yabinc@google.com>
Thu, 18 Jun 2015 23:47:02 +0000 (16:47 -0700)
commitb032de7a9e1975a838cd6df2e7c8df3c7f70a3ce
tree08c1d077015624b5488edc7483050f492364c451
parent1ded5c77b86bf64d121251e70d84fbe7cf19b06c
Simpleperf: support monitoring existing processes/threads.

Also change the default record freq from 1000 to 4000. Because 1000 seems to be too low.

Bug: 19483574
Change-Id: I340fcb9d28a156862705e483ee340a1c824eea21
17 files changed:
simpleperf/cmd_record.cpp
simpleperf/cmd_record_test.cpp
simpleperf/cmd_stat.cpp
simpleperf/cmd_stat_test.cpp
simpleperf/environment.cpp
simpleperf/environment.h
simpleperf/event_fd.cpp
simpleperf/event_fd.h
simpleperf/event_selection_set.cpp
simpleperf/event_selection_set.h
simpleperf/event_type.cpp
simpleperf/record_file_test.cpp
simpleperf/sample_tree_test.cpp
simpleperf/test_util.h [new file with mode: 0644]
simpleperf/utils.cpp
simpleperf/utils.h
simpleperf/workload_test.cpp