| commit | a22efebe4b5f890d571a976b309301d52861de08 | [log] [tgz] |
|---|---|---|
| author | Yabin Cui <yabinc@google.com> | Wed Jan 29 13:27:33 2020 -0800 |
| committer | Yabin Cui <yabinc@google.com> | Wed Jan 29 13:27:33 2020 -0800 |
| tree | c3e84e299ef87756aedacbafdbd9ef31bf5ff1f6 | |
| parent | 4ddb2ed82711603da270f7c7f9e9dbc253181f6c [diff] [blame] |
simpleperf: fix presubmit test. cuttlefish is changed to mount tracefs in /sys/kernel/tracing instead of /sys/kernel/debug/tracing. So try both tracefs locations. Bug: 148521916 Test: run simpleperf_unit_test. Change-Id: I6052fd3feb14d5e93334e5e95704e1fa173fac25
diff --git a/simpleperf/nonlinux_support/nonlinux_support.cpp b/simpleperf/nonlinux_support/nonlinux_support.cpp index 1726b58..deb3b1d 100644 --- a/simpleperf/nonlinux_support/nonlinux_support.cpp +++ b/simpleperf/nonlinux_support/nonlinux_support.cpp
@@ -39,6 +39,10 @@ return true; } +const char* GetTraceFsDir() { + return nullptr; +} + namespace simpleperf { class DummyOfflineUnwinder : public OfflineUnwinder {