diff options
Diffstat (limited to 'simpleperf/cmd_report_test.cpp')
-rw-r--r-- | simpleperf/cmd_report_test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/simpleperf/cmd_report_test.cpp b/simpleperf/cmd_report_test.cpp index bcf8b6e0..a98b75f3 100644 --- a/simpleperf/cmd_report_test.cpp +++ b/simpleperf/cmd_report_test.cpp @@ -268,6 +268,7 @@ static std::unique_ptr<Command> RecordCmd() { } TEST_F(ReportCommandTest, dwarf_callgraph) { + TEST_REQUIRE_HW_COUNTER(); if (IsDwarfCallChainSamplingSupported()) { TemporaryFile tmp_file; ASSERT_TRUE(RecordCmd()->Run({"-g", "-o", tmp_file.path, "sleep", SLEEP_SEC})); |