simpleperf: Use cross-arch unwinding.
Enables cross-arch unwinding since the new unwinder supports cross-arch
unwinding.
Also change tests accordingly.
Bug: http://b/73127000
Test: run simpleperf_unit_test.
Change-Id: I3ca3f7a81b40e9f7ea2b39b9fdc951f9e7a6acc7
diff --git a/simpleperf/nonlinux_support/nonlinux_support.cpp b/simpleperf/nonlinux_support/nonlinux_support.cpp
index 4f53c0e..db5bed2 100644
--- a/simpleperf/nonlinux_support/nonlinux_support.cpp
+++ b/simpleperf/nonlinux_support/nonlinux_support.cpp
@@ -21,11 +21,10 @@
#include "OfflineUnwinder.h"
namespace simpleperf {
-OfflineUnwinder::OfflineUnwinder(bool strict_arch_check, bool collect_stat)
- : strict_arch_check_(strict_arch_check), collect_stat_(collect_stat) {
+OfflineUnwinder::OfflineUnwinder(bool collect_stat) : collect_stat_(collect_stat) {
}
-bool OfflineUnwinder::UnwindCallChain(int, const ThreadEntry&, const RegSet&, const char*, size_t,
+bool OfflineUnwinder::UnwindCallChain(const ThreadEntry&, const RegSet&, const char*, size_t,
std::vector<uint64_t>*, std::vector<uint64_t>*) {
return false;
}