| commit | f897452e2305dc19e9f6689029da74cdf07045f5 | [log] [tgz] |
|---|---|---|
| author | Yabin Cui <yabinc@google.com> | Mon Jul 17 14:36:37 2017 -0700 |
| committer | Yabin Cui <yabinc@google.com> | Mon Jul 17 18:10:16 2017 -0700 |
| tree | 4f75fd0ec08d7e3d4b5ded5e29505fabe9602d05 | |
| parent | 945911cbae783f92d0aa525507742f7e52ff6278 [diff] [blame] |
simpleperf: add test for dumping regs for tracepoint events. If the test fails, probably a kernel patch is missing: 5b09a094f2 arm64: perf: Fix callchain parse error with kernel tracepoint events To support the test, also enable recording tracepoint events in app's context. Bug: http://b/29520177 Test: run CtsSimpleperfTestCases64 on devices. Change-Id: I085114113732366305e92f6a1e6c3b6efc6ff5ff
diff --git a/simpleperf/nonlinux_support/nonlinux_support.cpp b/simpleperf/nonlinux_support/nonlinux_support.cpp index f132dd9..8c245f1 100644 --- a/simpleperf/nonlinux_support/nonlinux_support.cpp +++ b/simpleperf/nonlinux_support/nonlinux_support.cpp
@@ -28,3 +28,7 @@ bool GetKernelBuildId(BuildId*) { return false; } + +bool CanRecordRawData() { + return false; +}