diff options
author | Yabin Cui <yabinc@google.com> | 2018-05-10 15:38:00 -0700 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2018-05-14 12:01:08 -0700 |
commit | 5e8ee336c98c760b2c9ed35f705a2f707fbf93cc (patch) | |
tree | 2d486b7fbfe5306d36d9011871efd8250c854f29 /simpleperf/cmd_list.cpp | |
parent | ad48d21a88fc17c5d7cc4fa83e54a2e2521f69ac (diff) | |
download | extras-5e8ee336c98c760b2c9ed35f705a2f707fbf93cc.tar.gz |
simpleperf: Add support for implementation-defined raw PMU events.
The patch was sent to upstream by c.orakwue@samsung.com, then
I made some modifications to fit existing code.
Bug: none
Test: run simpleperf_unit_test.
Change-Id: Iccc74892aff972e2c11941c3587314cdf5f63abd
Diffstat (limited to 'simpleperf/cmd_list.cpp')
-rw-r--r-- | simpleperf/cmd_list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/cmd_list.cpp b/simpleperf/cmd_list.cpp index 3b22bdec..dd73b9df 100644 --- a/simpleperf/cmd_list.cpp +++ b/simpleperf/cmd_list.cpp @@ -69,7 +69,7 @@ static bool IsEventTypeSupported(const EventType& event_type) { } static void PrintEventTypesOfType(uint32_t type, const std::string& type_name, - const std::vector<EventType>& event_types) { + const std::set<EventType>& event_types) { printf("List of %s:\n", type_name.c_str()); if (type == PERF_TYPE_RAW && (GetBuildArch() == ARCH_ARM || GetBuildArch() == ARCH_ARM64)) { printf(" # Please refer to PMU event numbers listed in ARMv8 manual for details.\n"); |