perf: add userspace frame pointer unwinder
This change introduces the UNWIND_FRAME_POINTER option to the UnwindMode
enum, allowing users to select the frame pointer unwinder for unwinding
userspace stack traces.
github issue: https://github.com/google/perfetto/issues/907
Change-Id: I82b612a7c534f3d3adaa1b0faf28651023429325
diff --git a/Android.bp b/Android.bp
index 2341f3b..2aa73b8 100644
--- a/Android.bp
+++ b/Android.bp
@@ -11517,6 +11517,7 @@
name: "perfetto_src_profiling_perf_producer_unittests",
srcs: [
"src/profiling/perf/event_config_unittest.cc",
+ "src/profiling/perf/frame_pointer_unwinder_unittest.cc",
"src/profiling/perf/perf_producer_unittest.cc",
"src/profiling/perf/unwind_queue_unittest.cc",
],
@@ -11542,6 +11543,7 @@
filegroup {
name: "perfetto_src_profiling_perf_unwinding",
srcs: [
+ "src/profiling/perf/frame_pointer_unwinder.cc",
"src/profiling/perf/unwinding.cc",
],
}