traced_perf: trivial config proto (PerfEventConfig) for further development.
Bug: 144281346
Change-Id: I60850de86da6af70443862955560cffdc7c86a38
diff --git a/Android.bp b/Android.bp
index 3cfd830..3c4b14c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -2037,6 +2037,7 @@
srcs: [
"protos/perfetto/config/profiling/heapprofd_config.proto",
"protos/perfetto/config/profiling/java_hprof_config.proto",
+ "protos/perfetto/config/profiling/perf_event_config.proto",
],
tools: [
"aprotoc",
@@ -2046,6 +2047,7 @@
out: [
"external/perfetto/protos/perfetto/config/profiling/heapprofd_config.gen.cc",
"external/perfetto/protos/perfetto/config/profiling/java_hprof_config.gen.cc",
+ "external/perfetto/protos/perfetto/config/profiling/perf_event_config.gen.cc",
],
}
@@ -2055,6 +2057,7 @@
srcs: [
"protos/perfetto/config/profiling/heapprofd_config.proto",
"protos/perfetto/config/profiling/java_hprof_config.proto",
+ "protos/perfetto/config/profiling/perf_event_config.proto",
],
tools: [
"aprotoc",
@@ -2064,6 +2067,7 @@
out: [
"external/perfetto/protos/perfetto/config/profiling/heapprofd_config.gen.h",
"external/perfetto/protos/perfetto/config/profiling/java_hprof_config.gen.h",
+ "external/perfetto/protos/perfetto/config/profiling/perf_event_config.gen.h",
],
export_include_dirs: [
".",
@@ -2077,6 +2081,7 @@
srcs: [
"protos/perfetto/config/profiling/heapprofd_config.proto",
"protos/perfetto/config/profiling/java_hprof_config.proto",
+ "protos/perfetto/config/profiling/perf_event_config.proto",
],
tools: [
"aprotoc",
@@ -2085,6 +2090,7 @@
out: [
"external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pb.cc",
"external/perfetto/protos/perfetto/config/profiling/java_hprof_config.pb.cc",
+ "external/perfetto/protos/perfetto/config/profiling/perf_event_config.pb.cc",
],
}
@@ -2094,6 +2100,7 @@
srcs: [
"protos/perfetto/config/profiling/heapprofd_config.proto",
"protos/perfetto/config/profiling/java_hprof_config.proto",
+ "protos/perfetto/config/profiling/perf_event_config.proto",
],
tools: [
"aprotoc",
@@ -2102,6 +2109,7 @@
out: [
"external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pb.h",
"external/perfetto/protos/perfetto/config/profiling/java_hprof_config.pb.h",
+ "external/perfetto/protos/perfetto/config/profiling/perf_event_config.pb.h",
],
export_include_dirs: [
".",
@@ -2115,6 +2123,7 @@
srcs: [
"protos/perfetto/config/profiling/heapprofd_config.proto",
"protos/perfetto/config/profiling/java_hprof_config.proto",
+ "protos/perfetto/config/profiling/perf_event_config.proto",
],
tools: [
"aprotoc",
@@ -2124,6 +2133,7 @@
out: [
"external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pbzero.cc",
"external/perfetto/protos/perfetto/config/profiling/java_hprof_config.pbzero.cc",
+ "external/perfetto/protos/perfetto/config/profiling/perf_event_config.pbzero.cc",
],
}
@@ -2133,6 +2143,7 @@
srcs: [
"protos/perfetto/config/profiling/heapprofd_config.proto",
"protos/perfetto/config/profiling/java_hprof_config.proto",
+ "protos/perfetto/config/profiling/perf_event_config.proto",
],
tools: [
"aprotoc",
@@ -2142,6 +2153,7 @@
out: [
"external/perfetto/protos/perfetto/config/profiling/heapprofd_config.pbzero.h",
"external/perfetto/protos/perfetto/config/profiling/java_hprof_config.pbzero.h",
+ "external/perfetto/protos/perfetto/config/profiling/perf_event_config.pbzero.h",
],
export_include_dirs: [
".",