OSDN Git Service

simpleperf: fix stat cmd.
authorYabin Cui <yabinc@google.com>
Tue, 8 Aug 2017 22:44:33 +0000 (15:44 -0700)
committerYabin Cui <yabinc@google.com>
Tue, 8 Aug 2017 22:44:33 +0000 (15:44 -0700)
commitd8aa2eda659d69c5701281df9c767902a215d7e5
treedcabfa3899564a0e73a47e03c970c806312566b2
parentf9ed7b5507b4355021acc22adc14451e2e2d63ef
simpleperf: fix stat cmd.

Previous CL wrongly makes kernel dump samples for stat cmd.

Bug: http://b/64489160
Test: run simpleperf_unit_test.
Change-Id: I4f5c08839e283b2361e47d61310e5161433824bb
simpleperf/cmd_stat_test.cpp
simpleperf/event_selection_set.cpp