OSDN Git Service

simpleperf: support --cpu option in record/stat command.
authorYabin Cui <yabinc@google.com>
Mon, 26 Oct 2015 23:15:29 +0000 (16:15 -0700)
committerYabin Cui <yabinc@google.com>
Fri, 30 Oct 2015 19:08:08 +0000 (12:08 -0700)
commitcb4c17ea53269ced994a2d849cbafb1afd5296e1
tree167b3af4203bc2f74d8a49d986522e47d89f44c5
parentc5ca81d0d4adc1da4325a89dc958b515691a4e0d
simpleperf: support --cpu option in record/stat command.

--cpu option is used to record on selected cpus.

Change-Id: If5bb9b42a064d2ff69fbeec77906fc79943dddc1
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/environment_test.cpp
simpleperf/event_attr.cpp
simpleperf/event_selection_set.cpp
simpleperf/event_selection_set.h