traced_perf proto: move event definition to common/ + remove |tracepoint|

The successive changes will echo the descriptions of the counters
within the trace itself (as part of TracePacketDefaults), and it makes
sense to reuse the existing counter enum and Tracepoint message.

Root |config.tracepoint| is hard-deprecated as that support was added
not long before the config refactoring, so I'm not expecting any
dependents.

Bug: 180437026
Change-Id: Ie5c09b23a02c697d699bc45c74fc4076ad23a052
diff --git a/BUILD b/BUILD
index f210bbe..c6d129b 100644
--- a/BUILD
+++ b/BUILD
@@ -1733,6 +1733,7 @@
         "protos/perfetto/common/gpu_counter_descriptor.proto",
         "protos/perfetto/common/interceptor_descriptor.proto",
         "protos/perfetto/common/observable_events.proto",
+        "protos/perfetto/common/perf_events.proto",
         "protos/perfetto/common/sys_stats_counters.proto",
         "protos/perfetto/common/trace_stats.proto",
         "protos/perfetto/common/tracing_service_capabilities.proto",
@@ -2067,6 +2068,7 @@
 perfetto_cc_protocpp_library(
     name = "protos_perfetto_config_profiling_cpp",
     deps = [
+        ":protos_perfetto_common_cpp",
         ":protos_perfetto_config_profiling_protos",
     ],
 )
@@ -2090,6 +2092,9 @@
     visibility = [
         PERFETTO_CONFIG.proto_library_visibility,
     ],
+    deps = [
+        ":protos_perfetto_common_protos",
+    ],
 )
 
 # GN target: //protos/perfetto/config/profiling:zero