kallsyms parser: move to src/kallsyms/
Moving to a common location as it's now shared between traced_probes and
traced_perf.
Also, change metatrace tag from TAG_FTRACE to TAG_PRODUCER, which is the
category intended for generalised producer metatracing.
Bug: 173124818
Change-Id: Ie70f01175a9741702ddddfe92eae1423179d811d
diff --git a/BUILD b/BUILD
index 0b6c279..d9c9e18 100644
--- a/BUILD
+++ b/BUILD
@@ -174,6 +174,7 @@
srcs = [
":src_android_internal_headers",
":src_android_internal_lazy_library_loader",
+ ":src_kallsyms_kallsyms",
":src_perfetto_cmd_perfetto_atoms",
":src_traced_probes_android_log_android_log",
":src_traced_probes_common_common",
@@ -181,7 +182,6 @@
":src_traced_probes_filesystem_filesystem",
":src_traced_probes_ftrace_format_parser",
":src_traced_probes_ftrace_ftrace",
- ":src_traced_probes_ftrace_kallsyms_kallsyms",
":src_traced_probes_initial_display_state_initial_display_state",
":src_traced_probes_metatrace_metatrace",
":src_traced_probes_packages_list_packages_list",
@@ -615,6 +615,17 @@
],
)
+# GN target: //src/kallsyms:kallsyms
+filegroup(
+ name = "src_kallsyms_kallsyms",
+ srcs = [
+ "src/kallsyms/kernel_symbol_map.cc",
+ "src/kallsyms/kernel_symbol_map.h",
+ "src/kallsyms/lazy_kernel_symbolizer.cc",
+ "src/kallsyms/lazy_kernel_symbolizer.h",
+ ],
+)
+
# GN target: //src/perfetto_cmd:perfetto_atoms
filegroup(
name = "src_perfetto_cmd_perfetto_atoms",
@@ -1224,17 +1235,6 @@
],
)
-# GN target: //src/traced/probes/ftrace/kallsyms:kallsyms
-filegroup(
- name = "src_traced_probes_ftrace_kallsyms_kallsyms",
- srcs = [
- "src/traced/probes/ftrace/kallsyms/kernel_symbol_map.cc",
- "src/traced/probes/ftrace/kallsyms/kernel_symbol_map.h",
- "src/traced/probes/ftrace/kallsyms/lazy_kernel_symbolizer.cc",
- "src/traced/probes/ftrace/kallsyms/lazy_kernel_symbolizer.h",
- ],
-)
-
# GN target: //src/traced/probes/ftrace:format_parser
filegroup(
name = "src_traced_probes_ftrace_format_parser",