blob: ac30232870178f1467a763d99c7a83286a898c66 [file] [log] [blame]
# Copyright (C) 2019 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This file is automatically generated by tools/gen_bazel. Do not edit.
load("@perfetto_cfg//:perfetto_cfg.bzl", "PERFETTO_CONFIG")
load(
"@perfetto//bazel:rules.bzl",
"perfetto_build_config_cc_library",
"perfetto_cc_amalgamated_sql",
"perfetto_cc_binary",
"perfetto_cc_ipc_library",
"perfetto_cc_library",
"perfetto_cc_proto_descriptor",
"perfetto_cc_proto_library",
"perfetto_cc_protocpp_library",
"perfetto_cc_protozero_library",
"perfetto_cc_tp_tables",
"perfetto_filegroup",
"perfetto_genrule",
"perfetto_go_proto_library",
"perfetto_java_lite_proto_library",
"perfetto_java_proto_library",
"perfetto_proto_descriptor",
"perfetto_proto_library",
"perfetto_py_binary",
"perfetto_py_library",
"perfetto_py_proto_library",
"perfetto_jspb_proto_library",
)
package(default_visibility = [PERFETTO_CONFIG.root + ":__subpackages__"])
licenses(["notice"])
exports_files(["NOTICE"])
# ##############################################################################
# Internal targets
# ##############################################################################
# GN target: //src/base:perfetto_base_default_platform
perfetto_cc_library(
name = "perfetto_base_default_platform",
srcs = [
"src/base/default_platform.cc",
],
hdrs = [
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":include_perfetto_public_abi_base",
":include_perfetto_public_base",
],
linkstatic = True,
)
# GN target: //src/ipc/protoc_plugin:ipc_plugin
perfetto_cc_binary(
name = "ipc_plugin",
srcs = [
"src/ipc/protoc_plugin/ipc_plugin.cc",
],
deps = [
":src_base_base",
] + PERFETTO_CONFIG.deps.protoc_lib,
)
# GN target: //src/ipc:perfetto_ipc
perfetto_cc_library(
name = "perfetto_ipc",
srcs = [
":src_ipc_client",
":src_ipc_common",
":src_ipc_host",
],
hdrs = [
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":include_perfetto_ext_ipc_ipc",
":include_perfetto_protozero_protozero",
":include_perfetto_public_abi_base",
":include_perfetto_public_base",
":include_perfetto_public_protozero",
],
deps = [
":protos_perfetto_ipc_wire_protocol_cpp",
":src_base_base",
":src_base_unix_socket",
],
linkstatic = True,
)
# GN target: //src/protozero/protoc_plugin:cppgen_plugin
perfetto_cc_binary(
name = "cppgen_plugin",
srcs = [
"src/protozero/protoc_plugin/cppgen_plugin.cc",
],
deps = [
":src_base_base",
] + PERFETTO_CONFIG.deps.protoc_lib,
)
# GN target: //src/protozero/protoc_plugin:protozero_plugin
perfetto_cc_binary(
name = "protozero_plugin",
srcs = [
"src/protozero/protoc_plugin/protozero_plugin.cc",
],
deps = [
":src_base_base",
] + PERFETTO_CONFIG.deps.protoc_lib,
)
# GN target: //src/protozero:protozero
perfetto_cc_library(
name = "protozero",
srcs = [
"src/protozero/field.cc",
"src/protozero/gen_field_helpers.cc",
"src/protozero/message.cc",
"src/protozero/message_arena.cc",
"src/protozero/packed_repeated_fields.cc",
"src/protozero/proto_decoder.cc",
"src/protozero/scattered_heap_buffer.cc",
"src/protozero/scattered_stream_null_delegate.cc",
"src/protozero/scattered_stream_writer.cc",
"src/protozero/static_buffer.cc",
"src/protozero/virtual_destructors.cc",
],
hdrs = [
":include_perfetto_base_base",
":include_perfetto_protozero_protozero",
":include_perfetto_public_abi_base",
":include_perfetto_public_base",
":include_perfetto_public_protozero",
],
deps = [
":src_base_base",
],
linkstatic = True,
)
# GN target: //src/tools/proto_filter:proto_filter
perfetto_cc_binary(
name = "proto_filter",
srcs = [
":include_perfetto_base_base",
":include_perfetto_public_abi_base",
":include_perfetto_public_base",
":src_perfetto_cmd_pbtxt_to_pb",
":src_protozero_filtering_bytecode_common",
":src_protozero_filtering_bytecode_generator",
":src_protozero_filtering_bytecode_parser",
":src_protozero_filtering_filter_util",
":src_protozero_filtering_message_filter",
":src_protozero_filtering_string_filter",
"src/tools/proto_filter/proto_filter.cc",
],
deps = [
":protos_perfetto_common_cpp",
":protos_perfetto_config_android_cpp",
":protos_perfetto_config_cpp",
":protos_perfetto_config_ftrace_cpp",
":protos_perfetto_config_gpu_cpp",
":protos_perfetto_config_inode_file_cpp",
":protos_perfetto_config_interceptors_cpp",
":protos_perfetto_config_power_cpp",
":protos_perfetto_config_process_stats_cpp",
":protos_perfetto_config_profiling_cpp",
":protos_perfetto_config_statsd_cpp",
":protos_perfetto_config_sys_stats_cpp",
":protos_perfetto_config_system_info_cpp",
":protos_perfetto_config_track_event_cpp",
":protozero",
":src_base_base",
":src_base_version",
":src_perfetto_cmd_gen_cc_config_descriptor",
] + PERFETTO_CONFIG.deps.protobuf_full,
)
# GN target: //src/tools/proto_merger:proto_merger
perfetto_cc_binary(
name = "proto_merger",
srcs = [
"src/tools/proto_merger/allowlist.cc",
"src/tools/proto_merger/allowlist.h",
"src/tools/proto_merger/main.cc",
"src/tools/proto_merger/proto_file.cc",
"src/tools/proto_merger/proto_file.h",
"src/tools/proto_merger/proto_file_serializer.cc",
"src/tools/proto_merger/proto_file_serializer.h",
"src/tools/proto_merger/proto_merger.cc",
"src/tools/proto_merger/proto_merger.h",
],
deps = [
":src_base_base",
":src_base_version",
] + PERFETTO_CONFIG.deps.protobuf_full,
)
# GN target: //src/trace_processor/rpc:trace_processor_rpc
perfetto_cc_library(
name = "trace_processor_rpc",
srcs = [
":src_kernel_utils_syscall_table",
":src_protozero_proto_ring_buffer",
":src_trace_processor_db_column_column",
":src_trace_processor_db_db",
":src_trace_processor_db_minimal",
":src_trace_processor_export_json",
":src_trace_processor_importers_android_bugreport_android_bugreport",
":src_trace_processor_importers_common_common",
":src_trace_processor_importers_common_parser_types",
":src_trace_processor_importers_common_trace_parser_hdr",
":src_trace_processor_importers_etw_full",
":src_trace_processor_importers_ftrace_ftrace_descriptors",
":src_trace_processor_importers_ftrace_full",
":src_trace_processor_importers_ftrace_minimal",
":src_trace_processor_importers_fuchsia_fuchsia_record",
":src_trace_processor_importers_fuchsia_full",
":src_trace_processor_importers_fuchsia_minimal",
":src_trace_processor_importers_gzip_full",
":src_trace_processor_importers_i2c_full",
":src_trace_processor_importers_json_full",
":src_trace_processor_importers_json_minimal",
":src_trace_processor_importers_memory_tracker_graph_processor",
":src_trace_processor_importers_ninja_ninja",
":src_trace_processor_importers_perf_perf",
":src_trace_processor_importers_proto_full",
":src_trace_processor_importers_proto_minimal",
":src_trace_processor_importers_proto_packet_sequence_state_generation_hdr",
":src_trace_processor_importers_proto_proto_importer_module",
":src_trace_processor_importers_proto_winscope_full",
":src_trace_processor_importers_syscalls_full",
":src_trace_processor_importers_systrace_full",
":src_trace_processor_importers_systrace_systrace_line",
":src_trace_processor_importers_systrace_systrace_parser",
":src_trace_processor_lib",
":src_trace_processor_metatrace",
":src_trace_processor_metrics_metrics",
":src_trace_processor_perfetto_sql_engine_engine",
":src_trace_processor_perfetto_sql_intrinsics_functions_functions",
":src_trace_processor_perfetto_sql_intrinsics_functions_interface",
":src_trace_processor_perfetto_sql_intrinsics_operators_operators",
":src_trace_processor_perfetto_sql_intrinsics_table_functions_interface",
":src_trace_processor_perfetto_sql_intrinsics_table_functions_table_functions",
":src_trace_processor_perfetto_sql_intrinsics_table_functions_tables",
":src_trace_processor_rpc_rpc",
":src_trace_processor_sorter_sorter",
":src_trace_processor_sqlite_query_constraints",
":src_trace_processor_sqlite_sqlite",
":src_trace_processor_storage_minimal",
":src_trace_processor_storage_storage",
":src_trace_processor_tables_tables",
":src_trace_processor_tables_tables_python",
":src_trace_processor_types_types",
":src_trace_processor_util_bump_allocator",
":src_trace_processor_util_descriptors",
":src_trace_processor_util_glob",
":src_trace_processor_util_gzip",
":src_trace_processor_util_interned_message_view",
":src_trace_processor_util_profile_builder",
":src_trace_processor_util_profiler_util",
":src_trace_processor_util_proto_profiler",
":src_trace_processor_util_proto_to_args_parser",
":src_trace_processor_util_protozero_to_json",
":src_trace_processor_util_protozero_to_text",
":src_trace_processor_util_regex",
":src_trace_processor_util_sql_argument",
":src_trace_processor_util_stack_traces_util",
":src_trace_processor_util_stdlib",
":src_trace_processor_util_util",
":src_trace_processor_util_zip_reader",
],
hdrs = [
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":include_perfetto_ext_protozero_protozero",
":include_perfetto_ext_trace_processor_demangle",
":include_perfetto_ext_trace_processor_export_json",
":include_perfetto_ext_trace_processor_importers_memory_tracker_memory_tracker",
":include_perfetto_ext_trace_processor_rpc_query_result_serializer",
":include_perfetto_ext_traced_sys_stats_counters",
":include_perfetto_protozero_protozero",
":include_perfetto_public_abi_base",
":include_perfetto_public_base",
":include_perfetto_public_protozero",
":include_perfetto_trace_processor_basic_types",
":include_perfetto_trace_processor_storage",
":include_perfetto_trace_processor_trace_processor",
],
deps = [
":protos_perfetto_common_zero",
":protos_perfetto_config_android_zero",
":protos_perfetto_config_ftrace_zero",
":protos_perfetto_config_gpu_zero",
":protos_perfetto_config_inode_file_zero",
":protos_perfetto_config_interceptors_zero",
":protos_perfetto_config_power_zero",
":protos_perfetto_config_process_stats_zero",
":protos_perfetto_config_profiling_zero",
":protos_perfetto_config_statsd_zero",
":protos_perfetto_config_sys_stats_zero",
":protos_perfetto_config_system_info_zero",
":protos_perfetto_config_track_event_zero",
":protos_perfetto_config_zero",
":protos_perfetto_trace_android_zero",
":protos_perfetto_trace_chrome_zero",
":protos_perfetto_trace_etw_zero",
":protos_perfetto_trace_filesystem_zero",
":protos_perfetto_trace_ftrace_zero",
":protos_perfetto_trace_gpu_zero",
":protos_perfetto_trace_interned_data_zero",
":protos_perfetto_trace_minimal_zero",
":protos_perfetto_trace_non_minimal_zero",
":protos_perfetto_trace_perfetto_zero",
":protos_perfetto_trace_power_zero",
":protos_perfetto_trace_processor_metrics_impl_zero",
":protos_perfetto_trace_processor_zero",
":protos_perfetto_trace_profiling_zero",
":protos_perfetto_trace_ps_zero",
":protos_perfetto_trace_statsd_zero",
":protos_perfetto_trace_sys_stats_zero",
":protos_perfetto_trace_system_info_zero",
":protos_perfetto_trace_track_event_zero",
":protos_perfetto_trace_translation_zero",
":protos_third_party_pprof_zero",
":protozero",
":src_base_base",
":src_base_version",
":src_trace_processor_containers_containers",
":src_trace_processor_importers_proto_gen_cc_chrome_track_event_descriptor",
":src_trace_processor_importers_proto_gen_cc_config_descriptor",
":src_trace_processor_importers_proto_gen_cc_statsd_atoms_descriptor",
":src_trace_processor_importers_proto_gen_cc_trace_descriptor",
":src_trace_processor_importers_proto_gen_cc_track_event_descriptor",
":src_trace_processor_importers_proto_winscope_gen_cc_winscope_descriptor",
":src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor",
":src_trace_processor_metrics_gen_cc_all_webview_metrics_descriptor",
":src_trace_processor_metrics_gen_cc_metrics_descriptor",
":src_trace_processor_metrics_sql_gen_amalgamated_sql_metrics",
":src_trace_processor_perfetto_sql_prelude_prelude",
":src_trace_processor_perfetto_sql_stdlib_stdlib",
] + PERFETTO_CONFIG.deps.jsoncpp +
PERFETTO_CONFIG.deps.sqlite +
PERFETTO_CONFIG.deps.sqlite_ext_percentile +
PERFETTO_CONFIG.deps.zlib +
PERFETTO_CONFIG.deps.demangle_wrapper,
linkstatic = True,
)
# GN target: //test:client_api_example
perfetto_cc_binary(
name = "client_api_example",
srcs = [
":include_perfetto_base_base",
":include_perfetto_protozero_protozero",
":include_perfetto_public_abi_base",
":include_perfetto_public_base",
":include_perfetto_public_protozero",
":include_perfetto_tracing_core_forward_decls",
":include_perfetto_tracing_tracing",
"test/client_api_example.cc",
],
deps = [
":libperfetto_client_experimental",
":protos_perfetto_common_cpp",
":protos_perfetto_common_zero",
":protos_perfetto_config_android_cpp",
":protos_perfetto_config_android_zero",
":protos_perfetto_config_cpp",
":protos_perfetto_config_ftrace_cpp",
":protos_perfetto_config_ftrace_zero",
":protos_perfetto_config_gpu_cpp",
":protos_perfetto_config_gpu_zero",
":protos_perfetto_config_inode_file_cpp",
":protos_perfetto_config_inode_file_zero",
":protos_perfetto_config_interceptors_cpp",
":protos_perfetto_config_interceptors_zero",
":protos_perfetto_config_power_cpp",
":protos_perfetto_config_power_zero",
":protos_perfetto_config_process_stats_cpp",
":protos_perfetto_config_process_stats_zero",
":protos_perfetto_config_profiling_cpp",
":protos_perfetto_config_profiling_zero",
":protos_perfetto_config_statsd_cpp",
":protos_perfetto_config_statsd_zero",
":protos_perfetto_config_sys_stats_cpp",
":protos_perfetto_config_sys_stats_zero",
":protos_perfetto_config_system_info_cpp",
":protos_perfetto_config_system_info_zero",
":protos_perfetto_config_track_event_cpp",
":protos_perfetto_config_track_event_zero",
":protos_perfetto_config_zero",
":protos_perfetto_trace_android_zero",
":protos_perfetto_trace_chrome_zero",
":protos_perfetto_trace_etw_zero",
":protos_perfetto_trace_filesystem_zero",
":protos_perfetto_trace_ftrace_zero",
":protos_perfetto_trace_gpu_zero",
":protos_perfetto_trace_interned_data_zero",
":protos_perfetto_trace_minimal_zero",
":protos_perfetto_trace_non_minimal_zero",
":protos_perfetto_trace_perfetto_zero",
":protos_perfetto_trace_power_zero",
":protos_perfetto_trace_profiling_zero",
":protos_perfetto_trace_ps_zero",
":protos_perfetto_trace_statsd_zero",
":protos_perfetto_trace_sys_stats_zero",
":protos_perfetto_trace_system_info_zero",
":protos_perfetto_trace_track_event_cpp",
":protos_perfetto_trace_track_event_zero",
":protos_perfetto_trace_translation_zero",
],
)
# GN target: //:libperfetto
perfetto_cc_library(
name = "libperfetto",
srcs = [
":src_android_internal_headers",
":src_android_internal_lazy_library_loader",
":src_android_stats_android_stats",
":src_android_stats_perfetto_atoms",
":src_kallsyms_kallsyms",
":src_kernel_utils_syscall_table",
":src_protozero_filtering_bytecode_common",
":src_protozero_filtering_bytecode_parser",
":src_protozero_filtering_message_filter",
":src_protozero_filtering_string_filter",
":src_protozero_proto_ring_buffer",
":src_traced_probes_android_game_intervention_list_android_game_intervention_list",
":src_traced_probes_android_log_android_log",
":src_traced_probes_android_system_property_android_system_property",
":src_traced_probes_common_common",
":src_traced_probes_data_source",
":src_traced_probes_filesystem_filesystem",
":src_traced_probes_ftrace_format_parser_format_parser",
":src_traced_probes_ftrace_ftrace",
":src_traced_probes_ftrace_ftrace_procfs",
":src_traced_probes_initial_display_state_initial_display_state",
":src_traced_probes_metatrace_metatrace",
":src_traced_probes_packages_list_packages_list",
":src_traced_probes_packages_list_packages_list_parser",
":src_traced_probes_power_power",
":src_traced_probes_probes",
":src_traced_probes_probes_src",
":src_traced_probes_ps_ps",
":src_traced_probes_statsd_client_statsd_client",
":src_traced_probes_sys_stats_sys_stats",
":src_traced_probes_system_info_system_info",
":src_traced_service_service",
":src_tracing_common",
":src_tracing_core_core",
":src_tracing_ipc_common",
":src_tracing_ipc_default_socket",
":src_tracing_ipc_producer_producer",
":src_tracing_ipc_service_service",
":src_tracing_service_service",
":src_tracing_service_zlib_compressor",
],
hdrs = [
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":include_perfetto_ext_ipc_ipc",
":include_perfetto_ext_protozero_protozero",
":include_perfetto_ext_traced_sys_stats_counters",
":include_perfetto_ext_traced_traced",
":include_perfetto_ext_tracing_core_core",
":include_perfetto_ext_tracing_ipc_ipc",
":include_perfetto_protozero_protozero",
":include_perfetto_public_abi_base",
":include_perfetto_public_base",
":include_perfetto_public_protozero",
":include_perfetto_tracing_core_core",
":include_perfetto_tracing_core_forward_decls",
":include_perfetto_tracing_tracing",
],
deps = [
":perfetto_ipc",
":protos_perfetto_common_cpp",
":protos_perfetto_common_zero",
":protos_perfetto_config_android_cpp",
":protos_perfetto_config_android_zero",
":protos_perfetto_config_cpp",
":protos_perfetto_config_ftrace_cpp",
":protos_perfetto_config_ftrace_zero",
":protos_perfetto_config_gpu_cpp",
":protos_perfetto_config_gpu_zero",
":protos_perfetto_config_inode_file_cpp",
":protos_perfetto_config_inode_file_zero",
":protos_perfetto_config_interceptors_cpp",
":protos_perfetto_config_interceptors_zero",
":protos_perfetto_config_power_cpp",
":protos_perfetto_config_power_zero",
":protos_perfetto_config_process_stats_cpp",
":protos_perfetto_config_process_stats_zero",
":protos_perfetto_config_profiling_cpp",
":protos_perfetto_config_profiling_zero",
":protos_perfetto_config_statsd_cpp",
":protos_perfetto_config_statsd_zero",
":protos_perfetto_config_sys_stats_cpp",
":protos_perfetto_config_sys_stats_zero",
":protos_perfetto_config_system_info_cpp",
":protos_perfetto_config_system_info_zero",
":protos_perfetto_config_track_event_cpp",
":protos_perfetto_config_track_event_zero",
":protos_perfetto_config_zero",
":protos_perfetto_ipc_cpp",
":protos_perfetto_ipc_ipc",
":protos_perfetto_trace_android_zero",
":protos_perfetto_trace_chrome_zero",
":protos_perfetto_trace_etw_zero",
":protos_perfetto_trace_filesystem_zero",
":protos_perfetto_trace_ftrace_zero",
":protos_perfetto_trace_gpu_zero",
":protos_perfetto_trace_interned_data_zero",
":protos_perfetto_trace_minimal_zero",
":protos_perfetto_trace_non_minimal_zero",
":protos_perfetto_trace_perfetto_zero",
":protos_perfetto_trace_power_zero",
":protos_perfetto_trace_profiling_zero",
":protos_perfetto_trace_ps_zero",
":protos_perfetto_trace_statsd_cpp",
":protos_perfetto_trace_statsd_zero",
":protos_perfetto_trace_sys_stats_zero",
":protos_perfetto_trace_system_info_zero",
":protos_perfetto_trace_track_event_cpp",
":protos_perfetto_trace_track_event_zero",
":protos_perfetto_trace_translation_zero",
":protos_third_party_statsd_config_zero",
":protozero",
":src_base_base",
":src_base_version",
] + PERFETTO_CONFIG.deps.zlib,
linkstatic = True,
)
# GN target: //include/perfetto/base:base
perfetto_filegroup(
name = "include_perfetto_base_base",
srcs = [
"include/perfetto/base/build_config.h",
"include/perfetto/base/compiler.h",
"include/perfetto/base/export.h",
"include/perfetto/base/flat_set.h",
"include/perfetto/base/logging.h",
"include/perfetto/base/platform_handle.h",
"include/perfetto/base/proc_utils.h",
"include/perfetto/base/status.h",
"include/perfetto/base/task_runner.h",
"include/perfetto/base/template_util.h",
"include/perfetto/base/thread_utils.h",
"include/perfetto/base/time.h",
],
)
# GN target: //include/perfetto/ext/base/http:http
perfetto_filegroup(
name = "include_perfetto_ext_base_http_http",
srcs = [
"include/perfetto/ext/base/http/http_server.h",
"include/perfetto/ext/base/http/sha1.h",
],
)
# GN target: //include/perfetto/ext/base:base
perfetto_filegroup(
name = "include_perfetto_ext_base_base",
srcs = [
"include/perfetto/ext/base/android_utils.h",
"include/perfetto/ext/base/base64.h",
"include/perfetto/ext/base/circular_queue.h",
"include/perfetto/ext/base/container_annotations.h",
"include/perfetto/ext/base/crash_keys.h",
"include/perfetto/ext/base/ctrl_c_handler.h",
"include/perfetto/ext/base/endian.h",
"include/perfetto/ext/base/event_fd.h",
"include/perfetto/ext/base/file_utils.h",
"include/perfetto/ext/base/flat_hash_map.h",
"include/perfetto/ext/base/getopt.h",
"include/perfetto/ext/base/getopt_compat.h",
"include/perfetto/ext/base/hash.h",
"include/perfetto/ext/base/metatrace.h",
"include/perfetto/ext/base/metatrace_events.h",
"include/perfetto/ext/base/no_destructor.h",
"include/perfetto/ext/base/paged_memory.h",
"include/perfetto/ext/base/periodic_task.h",
"include/perfetto/ext/base/pipe.h",
"include/perfetto/ext/base/platform.h",
"include/perfetto/ext/base/scoped_file.h",
"include/perfetto/ext/base/scoped_mmap.h",
"include/perfetto/ext/base/small_set.h",
"include/perfetto/ext/base/small_vector.h",
"include/perfetto/ext/base/status_or.h",
"include/perfetto/ext/base/string_splitter.h",
"include/perfetto/ext/base/string_utils.h",
"include/perfetto/ext/base/string_view.h",
"include/perfetto/ext/base/string_writer.h",
"include/perfetto/ext/base/subprocess.h",
"include/perfetto/ext/base/sys_types.h",
"include/perfetto/ext/base/temp_file.h",
"include/perfetto/ext/base/thread_annotations.h",
"include/perfetto/ext/base/thread_checker.h",
"include/perfetto/ext/base/thread_task_runner.h",
"include/perfetto/ext/base/thread_utils.h",
"include/perfetto/ext/base/unix_socket.h",
"include/perfetto/ext/base/unix_task_runner.h",
"include/perfetto/ext/base/utils.h",
"include/perfetto/ext/base/uuid.h",
"include/perfetto/ext/base/waitable_event.h",
"include/perfetto/ext/base/watchdog.h",
"include/perfetto/ext/base/watchdog_noop.h",
"include/perfetto/ext/base/watchdog_posix.h",
"include/perfetto/ext/base/weak_ptr.h",
],
)
# GN target: //include/perfetto/ext/base:version
perfetto_filegroup(
name = "include_perfetto_ext_base_version",
srcs = [
"include/perfetto/ext/base/version.h",
],
)
# GN target: //include/perfetto/ext/ipc:ipc
perfetto_filegroup(
name = "include_perfetto_ext_ipc_ipc",
srcs = [
"include/perfetto/ext/ipc/async_result.h",
"include/perfetto/ext/ipc/basic_types.h",
"include/perfetto/ext/ipc/client.h",
"include/perfetto/ext/ipc/client_info.h",
"include/perfetto/ext/ipc/codegen_helpers.h",
"include/perfetto/ext/ipc/deferred.h",
"include/perfetto/ext/ipc/host.h",
"include/perfetto/ext/ipc/service.h",
"include/perfetto/ext/ipc/service_descriptor.h",
"include/perfetto/ext/ipc/service_proxy.h",
],
)
# GN target: //include/perfetto/ext/protozero:protozero
perfetto_filegroup(
name = "include_perfetto_ext_protozero_protozero",
srcs = [
"include/perfetto/ext/protozero/proto_ring_buffer.h",
],
)
# GN target: //include/perfetto/ext/trace_processor/importers/memory_tracker:memory_tracker
perfetto_filegroup(
name = "include_perfetto_ext_trace_processor_importers_memory_tracker_memory_tracker",
srcs = [
"include/perfetto/ext/trace_processor/importers/memory_tracker/graph.h",
"include/perfetto/ext/trace_processor/importers/memory_tracker/graph_processor.h",
"include/perfetto/ext/trace_processor/importers/memory_tracker/memory_allocator_node_id.h",
"include/perfetto/ext/trace_processor/importers/memory_tracker/memory_graph_edge.h",
"include/perfetto/ext/trace_processor/importers/memory_tracker/raw_memory_graph_node.h",
"include/perfetto/ext/trace_processor/importers/memory_tracker/raw_process_memory_node.h",
],
)
# GN target: //include/perfetto/ext/trace_processor/rpc:query_result_serializer
perfetto_filegroup(
name = "include_perfetto_ext_trace_processor_rpc_query_result_serializer",
srcs = [
"include/perfetto/ext/trace_processor/rpc/query_result_serializer.h",
],
)
# GN target: //include/perfetto/ext/trace_processor:demangle
perfetto_filegroup(
name = "include_perfetto_ext_trace_processor_demangle",
srcs = [
"include/perfetto/ext/trace_processor/demangle.h",
],
)
# GN target: //include/perfetto/ext/trace_processor:export_json
perfetto_filegroup(
name = "include_perfetto_ext_trace_processor_export_json",
srcs = [
"include/perfetto/ext/trace_processor/export_json.h",
],
)
# GN target: //include/perfetto/ext/traced:sys_stats_counters
perfetto_filegroup(
name = "include_perfetto_ext_traced_sys_stats_counters",
srcs = [
"include/perfetto/ext/traced/sys_stats_counters.h",
],
)
# GN target: //include/perfetto/ext/traced:traced
perfetto_filegroup(
name = "include_perfetto_ext_traced_traced",
srcs = [
"include/perfetto/ext/traced/data_source_types.h",
"include/perfetto/ext/traced/traced.h",
],
)
# GN target: //include/perfetto/ext/tracing/core:core
perfetto_filegroup(
name = "include_perfetto_ext_tracing_core_core",
srcs = [
"include/perfetto/ext/tracing/core/basic_types.h",
"include/perfetto/ext/tracing/core/client_identity.h",
"include/perfetto/ext/tracing/core/commit_data_request.h",
"include/perfetto/ext/tracing/core/consumer.h",
"include/perfetto/ext/tracing/core/observable_events.h",
"include/perfetto/ext/tracing/core/producer.h",
"include/perfetto/ext/tracing/core/shared_memory.h",
"include/perfetto/ext/tracing/core/shared_memory_abi.h",
"include/perfetto/ext/tracing/core/shared_memory_arbiter.h",
"include/perfetto/ext/tracing/core/slice.h",
"include/perfetto/ext/tracing/core/trace_packet.h",
"include/perfetto/ext/tracing/core/trace_stats.h",
"include/perfetto/ext/tracing/core/trace_writer.h",
"include/perfetto/ext/tracing/core/tracing_service.h",
],
)
# GN target: //include/perfetto/ext/tracing/ipc:ipc
perfetto_filegroup(
name = "include_perfetto_ext_tracing_ipc_ipc",
srcs = [
"include/perfetto/ext/tracing/ipc/consumer_ipc_client.h",
"include/perfetto/ext/tracing/ipc/producer_ipc_client.h",
"include/perfetto/ext/tracing/ipc/service_ipc_host.h",
],
)
# GN target: //include/perfetto/profiling:pprof_builder
perfetto_filegroup(
name = "include_perfetto_profiling_pprof_builder",
srcs = [
"include/perfetto/profiling/pprof_builder.h",
],
)
# GN target: //include/perfetto/protozero:protozero
perfetto_filegroup(
name = "include_perfetto_protozero_protozero",
srcs = [
"include/perfetto/protozero/contiguous_memory_range.h",
"include/perfetto/protozero/copyable_ptr.h",
"include/perfetto/protozero/cpp_message_obj.h",
"include/perfetto/protozero/field.h",
"include/perfetto/protozero/field_writer.h",
"include/perfetto/protozero/gen_field_helpers.h",
"include/perfetto/protozero/message.h",
"include/perfetto/protozero/message_arena.h",
"include/perfetto/protozero/message_handle.h",
"include/perfetto/protozero/packed_repeated_fields.h",
"include/perfetto/protozero/proto_decoder.h",
"include/perfetto/protozero/proto_utils.h",
"include/perfetto/protozero/root_message.h",
"include/perfetto/protozero/scattered_heap_buffer.h",
"include/perfetto/protozero/scattered_stream_null_delegate.h",
"include/perfetto/protozero/scattered_stream_writer.h",
"include/perfetto/protozero/static_buffer.h",
],
)
# GN target: //include/perfetto/public/abi:base
perfetto_filegroup(
name = "include_perfetto_public_abi_base",
srcs = [
"include/perfetto/public/abi/atomic.h",
"include/perfetto/public/abi/export.h",
],
)
# GN target: //include/perfetto/public/abi:public
perfetto_filegroup(
name = "include_perfetto_public_abi_public",
srcs = [
"include/perfetto/public/abi/backend_type.h",
"include/perfetto/public/abi/data_source_abi.h",
"include/perfetto/public/abi/heap_buffer.h",
"include/perfetto/public/abi/pb_decoder_abi.h",
"include/perfetto/public/abi/producer_abi.h",
"include/perfetto/public/abi/stream_writer_abi.h",
"include/perfetto/public/abi/thread_utils_abi.h",
"include/perfetto/public/abi/tracing_session_abi.h",
"include/perfetto/public/abi/track_event_abi.h",
"include/perfetto/public/abi/track_event_hl_abi.h",
"include/perfetto/public/abi/track_event_ll_abi.h",
],
)
# GN target: //include/perfetto/public/protos:protos
perfetto_filegroup(
name = "include_perfetto_public_protos_protos",
srcs = [
"include/perfetto/public/protos/common/builtin_clock.pzc.h",
"include/perfetto/public/protos/common/data_source_descriptor.pzc.h",
"include/perfetto/public/protos/config/data_source_config.pzc.h",
"include/perfetto/public/protos/config/trace_config.pzc.h",
"include/perfetto/public/protos/config/track_event/track_event_config.pzc.h",
"include/perfetto/public/protos/trace/interned_data/interned_data.pzc.h",
"include/perfetto/public/protos/trace/test_event.pzc.h",
"include/perfetto/public/protos/trace/trace.pzc.h",
"include/perfetto/public/protos/trace/trace_packet.pzc.h",
"include/perfetto/public/protos/trace/track_event/counter_descriptor.pzc.h",
"include/perfetto/public/protos/trace/track_event/debug_annotation.pzc.h",
"include/perfetto/public/protos/trace/track_event/track_descriptor.pzc.h",
"include/perfetto/public/protos/trace/track_event/track_event.pzc.h",
"include/perfetto/public/protos/trace/trigger.pzc.h",
],
)
# GN target: //include/perfetto/public:base
perfetto_filegroup(
name = "include_perfetto_public_base",
srcs = [
"include/perfetto/public/compiler.h",
],
)
# GN target: //include/perfetto/public:protozero
perfetto_filegroup(
name = "include_perfetto_public_protozero",
srcs = [
"include/perfetto/public/pb_utils.h",
],
)
# GN target: //include/perfetto/public:public
perfetto_filegroup(
name = "include_perfetto_public_public",
srcs = [
"include/perfetto/public/data_source.h",
"include/perfetto/public/fnv1a.h",
"include/perfetto/public/pb_decoder.h",
"include/perfetto/public/pb_macros.h",
"include/perfetto/public/pb_msg.h",
"include/perfetto/public/pb_packed.h",
"include/perfetto/public/producer.h",
"include/perfetto/public/stream_writer.h",
"include/perfetto/public/te_category_macros.h",
"include/perfetto/public/te_macros.h",
"include/perfetto/public/thread_utils.h",
"include/perfetto/public/track_event.h",
],
)
# GN target: //include/perfetto/trace_processor:basic_types
perfetto_filegroup(
name = "include_perfetto_trace_processor_basic_types",
srcs = [
"include/perfetto/trace_processor/basic_types.h",
"include/perfetto/trace_processor/status.h",
],
)
# GN target: //include/perfetto/trace_processor:storage
perfetto_filegroup(
name = "include_perfetto_trace_processor_storage",
srcs = [
"include/perfetto/trace_processor/trace_blob.h",
"include/perfetto/trace_processor/trace_blob_view.h",
"include/perfetto/trace_processor/trace_processor_storage.h",
],
)
# GN target: //include/perfetto/trace_processor:trace_processor
perfetto_filegroup(
name = "include_perfetto_trace_processor_trace_processor",
srcs = [
"include/perfetto/trace_processor/iterator.h",
"include/perfetto/trace_processor/metatrace_config.h",
"include/perfetto/trace_processor/read_trace.h",
"include/perfetto/trace_processor/ref_counted.h",
"include/perfetto/trace_processor/trace_processor.h",
],
)
# GN target: //include/perfetto/tracing/core:core
perfetto_filegroup(
name = "include_perfetto_tracing_core_core",
srcs = [
"include/perfetto/tracing/core/chrome_config.h",
"include/perfetto/tracing/core/clock_snapshots.h",
"include/perfetto/tracing/core/data_source_config.h",
"include/perfetto/tracing/core/data_source_descriptor.h",
"include/perfetto/tracing/core/flush_flags.h",
"include/perfetto/tracing/core/trace_config.h",
"include/perfetto/tracing/core/tracing_service_capabilities.h",
"include/perfetto/tracing/core/tracing_service_state.h",
],
)
# GN target: //include/perfetto/tracing/core:forward_decls
perfetto_filegroup(
name = "include_perfetto_tracing_core_forward_decls",
srcs = [
"include/perfetto/tracing/core/forward_decls.h",
],
)
# GN target: //include/perfetto/tracing:tracing
perfetto_filegroup(
name = "include_perfetto_tracing_tracing",
srcs = [
"include/perfetto/tracing/backend_type.h",
"include/perfetto/tracing/buffer_exhausted_policy.h",
"include/perfetto/tracing/console_interceptor.h",
"include/perfetto/tracing/data_source.h",
"include/perfetto/tracing/debug_annotation.h",
"include/perfetto/tracing/default_socket.h",
"include/perfetto/tracing/event_context.h",
"include/perfetto/tracing/interceptor.h",
"include/perfetto/tracing/internal/basic_types.h",
"include/perfetto/tracing/internal/checked_scope.h",
"include/perfetto/tracing/internal/compile_time_hash.h",
"include/perfetto/tracing/internal/data_source_internal.h",
"include/perfetto/tracing/internal/data_source_type.h",
"include/perfetto/tracing/internal/in_process_tracing_backend.h",
"include/perfetto/tracing/internal/interceptor_trace_writer.h",
"include/perfetto/tracing/internal/system_tracing_backend.h",
"include/perfetto/tracing/internal/tracing_backend_fake.h",
"include/perfetto/tracing/internal/tracing_muxer.h",
"include/perfetto/tracing/internal/tracing_tls.h",
"include/perfetto/tracing/internal/track_event_data_source.h",
"include/perfetto/tracing/internal/track_event_internal.h",
"include/perfetto/tracing/internal/track_event_interned_fields.h",
"include/perfetto/tracing/internal/track_event_legacy.h",
"include/perfetto/tracing/internal/track_event_macros.h",
"include/perfetto/tracing/internal/write_track_event_args.h",
"include/perfetto/tracing/locked_handle.h",
"include/perfetto/tracing/platform.h",
"include/perfetto/tracing/string_helpers.h",
"include/perfetto/tracing/trace_writer_base.h",
"include/perfetto/tracing/traced_proto.h",
"include/perfetto/tracing/traced_value.h",
"include/perfetto/tracing/traced_value_forward.h",
"include/perfetto/tracing/tracing.h",
"include/perfetto/tracing/tracing_backend.h",
"include/perfetto/tracing/tracing_policy.h",
"include/perfetto/tracing/track.h",
"include/perfetto/tracing/track_event.h",
"include/perfetto/tracing/track_event_args.h",
"include/perfetto/tracing/track_event_category_registry.h",
"include/perfetto/tracing/track_event_interned_data_index.h",
"include/perfetto/tracing/track_event_legacy.h",
"include/perfetto/tracing/track_event_state_tracker.h",
],
)
# GN target: //src/android_internal:headers
perfetto_filegroup(
name = "src_android_internal_headers",
srcs = [
"src/android_internal/atrace_hal.h",
"src/android_internal/health_hal.h",
"src/android_internal/incident_service.h",
"src/android_internal/power_stats.h",
"src/android_internal/statsd.h",
"src/android_internal/statsd_logging.h",
"src/android_internal/tracing_service_proxy.h",
],
)
# GN target: //src/android_internal:lazy_library_loader
perfetto_filegroup(
name = "src_android_internal_lazy_library_loader",
srcs = [
"src/android_internal/lazy_library_loader.cc",
"src/android_internal/lazy_library_loader.h",
],
)
# GN target: //src/android_stats:android_stats
perfetto_filegroup(
name = "src_android_stats_android_stats",
srcs = [
"src/android_stats/statsd_logging_helper.cc",
"src/android_stats/statsd_logging_helper.h",
],
)
# GN target: //src/android_stats:perfetto_atoms
perfetto_filegroup(
name = "src_android_stats_perfetto_atoms",
srcs = [
"src/android_stats/perfetto_atoms.h",
],
)
# GN target: //src/base/http:http
perfetto_cc_library(
name = "src_base_http_http",
srcs = [
"src/base/http/http_server.cc",
"src/base/http/sha1.cc",
],
hdrs = [
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":include_perfetto_ext_base_http_http",
":include_perfetto_public_abi_base",
":include_perfetto_public_base",
],
deps = [
":src_base_base",
":src_base_unix_socket",
],
linkstatic = True,
)
# GN target: //src/base:base
perfetto_cc_library(
name = "src_base_base",
srcs = [
"src/base/android_utils.cc",
"src/base/base64.cc",
"src/base/crash_keys.cc",
"src/base/ctrl_c_handler.cc",
"src/base/event_fd.cc",
"src/base/file_utils.cc",
"src/base/getopt_compat.cc",
"src/base/log_ring_buffer.h",
"src/base/logging.cc",
"src/base/metatrace.cc",
"src/base/paged_memory.cc",
"src/base/periodic_task.cc",
"src/base/pipe.cc",
"src/base/scoped_mmap.cc",
"src/base/status.cc",
"src/base/string_splitter.cc",
"src/base/string_utils.cc",
"src/base/string_view.cc",
"src/base/subprocess.cc",
"src/base/subprocess_posix.cc",
"src/base/subprocess_windows.cc",
"src/base/temp_file.cc",
"src/base/thread_checker.cc",
"src/base/thread_task_runner.cc",
"src/base/thread_utils.cc",
"src/base/time.cc",
"src/base/unix_task_runner.cc",
"src/base/utils.cc",
"src/base/uuid.cc",
"src/base/virtual_destructors.cc",
"src/base/waitable_event.cc",
"src/base/watchdog_posix.cc",
],
hdrs = [
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":include_perfetto_public_abi_base",
":include_perfetto_public_base",
],
deps = [
] + PERFETTO_CONFIG.deps.base_platform,
linkstatic = True,
)
# GN target: //src/base:unix_socket
perfetto_cc_library(
name = "src_base_unix_socket",
srcs = [
"src/base/unix_socket.cc",
"src/base/vm_sockets.h",
],
hdrs = [
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":include_perfetto_public_abi_base",
":include_perfetto_public_base",
],
linkstatic = True,
)
# GN target: //src/base:version
perfetto_cc_library(
name = "src_base_version",
srcs = [
"src/base/version.cc",
],
hdrs = [
":include_perfetto_ext_base_version",
],
deps = [
":src_base_base",
] + PERFETTO_CONFIG.deps.version_header,
linkstatic = True,
)
perfetto_genrule(
name = "src_base_version_gen_h",
srcs = [
"CHANGELOG",
],
outs = [
"perfetto_version.gen.h",
],
cmd = "$(location gen_version_header_py) --cpp_out=$@ --changelog=$(location CHANGELOG)",
tools = [
":gen_version_header_py",
],
)
# GN target: //src/ipc:client
perfetto_filegroup(
name = "src_ipc_client",
srcs = [
"src/ipc/client_impl.cc",
"src/ipc/client_impl.h",
"src/ipc/service_proxy.cc",
],
)
# GN target: //src/ipc:common
perfetto_filegroup(
name = "src_ipc_common",
srcs = [
"src/ipc/buffered_frame_deserializer.cc",
"src/ipc/buffered_frame_deserializer.h",
"src/ipc/deferred.cc",
"src/ipc/virtual_destructors.cc",
],
)
# GN target: //src/ipc:host
perfetto_filegroup(
name = "src_ipc_host",
srcs = [
"src/ipc/host_impl.cc",
"src/ipc/host_impl.h",
],
)
# GN target: //src/kallsyms:kallsyms
perfetto_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/kernel_utils:syscall_table
perfetto_filegroup(
name = "src_kernel_utils_syscall_table",
srcs = [
"src/kernel_utils/syscall_table.cc",
"src/kernel_utils/syscall_table.h",
"src/kernel_utils/syscall_table_generated.h",
],
)
# GN target: //src/perfetto_cmd:bugreport_path
perfetto_filegroup(
name = "src_perfetto_cmd_bugreport_path",
srcs = [
"src/perfetto_cmd/bugreport_path.h",
],
)
# GN target: //src/perfetto_cmd:gen_cc_config_descriptor
perfetto_cc_proto_descriptor(
name = "src_perfetto_cmd_gen_cc_config_descriptor",
deps = [
":protos_perfetto_config_descriptor",
],
outs = [
"src/perfetto_cmd/config.descriptor.h",
],
)
# GN target: //src/perfetto_cmd:pbtxt_to_pb
perfetto_filegroup(
name = "src_perfetto_cmd_pbtxt_to_pb",
srcs = [
"src/perfetto_cmd/pbtxt_to_pb.cc",
"src/perfetto_cmd/pbtxt_to_pb.h",
],
)
# GN target: //src/perfetto_cmd:perfetto_cmd
perfetto_filegroup(
name = "src_perfetto_cmd_perfetto_cmd",
srcs = [
"src/perfetto_cmd/config.cc",
"src/perfetto_cmd/config.h",
"src/perfetto_cmd/packet_writer.cc",
"src/perfetto_cmd/packet_writer.h",
"src/perfetto_cmd/perfetto_cmd.cc",
"src/perfetto_cmd/perfetto_cmd.h",
"src/perfetto_cmd/rate_limiter.cc",
"src/perfetto_cmd/rate_limiter.h",
],
)
# GN target: //src/perfetto_cmd:trigger_producer
perfetto_filegroup(
name = "src_perfetto_cmd_trigger_producer",
srcs = [
"src/perfetto_cmd/trigger_producer.cc",
"src/perfetto_cmd/trigger_producer.h",
],
)
# GN target: //src/profiling/symbolizer:symbolize_database
perfetto_filegroup(
name = "src_profiling_symbolizer_symbolize_database",
srcs = [
"src/profiling/symbolizer/symbolize_database.cc",
"src/profiling/symbolizer/symbolize_database.h",
],
)
# GN target: //src/profiling/symbolizer:symbolizer
perfetto_filegroup(
name = "src_profiling_symbolizer_symbolizer",
srcs = [
"src/profiling/symbolizer/breakpad_parser.cc",
"src/profiling/symbolizer/breakpad_parser.h",
"src/profiling/symbolizer/breakpad_symbolizer.cc",
"src/profiling/symbolizer/breakpad_symbolizer.h",
"src/profiling/symbolizer/elf.h",
"src/profiling/symbolizer/filesystem.h",
"src/profiling/symbolizer/filesystem_posix.cc",
"src/profiling/symbolizer/filesystem_windows.cc",
"src/profiling/symbolizer/local_symbolizer.cc",
"src/profiling/symbolizer/local_symbolizer.h",
"src/profiling/symbolizer/subprocess.h",
"src/profiling/symbolizer/subprocess_posix.cc",
"src/profiling/symbolizer/subprocess_windows.cc",
"src/profiling/symbolizer/symbolizer.cc",
"src/profiling/symbolizer/symbolizer.h",
],
)
# GN target: //src/profiling:deobfuscator
perfetto_filegroup(
name = "src_profiling_deobfuscator",
srcs = [
"src/profiling/deobfuscator.cc",
"src/profiling/deobfuscator.h",
],
)
# GN target: //src/protozero/filtering:bytecode_common
perfetto_filegroup(
name = "src_protozero_filtering_bytecode_common",
srcs = [
"src/protozero/filtering/filter_bytecode_common.h",
],
)
# GN target: //src/protozero/filtering:bytecode_generator
perfetto_filegroup(
name = "src_protozero_filtering_bytecode_generator",
srcs = [
"src/protozero/filtering/filter_bytecode_generator.cc",
"src/protozero/filtering/filter_bytecode_generator.h",
],
)
# GN target: //src/protozero/filtering:bytecode_parser
perfetto_filegroup(
name = "src_protozero_filtering_bytecode_parser",
srcs = [
"src/protozero/filtering/filter_bytecode_parser.cc",
"src/protozero/filtering/filter_bytecode_parser.h",
],
)
# GN target: //src/protozero/filtering:filter_util
perfetto_filegroup(
name = "src_protozero_filtering_filter_util",
srcs = [
"src/protozero/filtering/filter_util.cc",
"src/protozero/filtering/filter_util.h",
],
)
# GN target: //src/protozero/filtering:message_filter
perfetto_filegroup(
name = "src_protozero_filtering_message_filter",
srcs = [
"src/protozero/filtering/message_filter.cc",
"src/protozero/filtering/message_filter.h",
"src/protozero/filtering/message_tokenizer.h",
],
)
# GN target: //src/protozero/filtering:string_filter
perfetto_filegroup(
name = "src_protozero_filtering_string_filter",
srcs = [
"src/protozero/filtering/string_filter.cc",
"src/protozero/filtering/string_filter.h",
],
)
# GN target: //src/protozero:proto_ring_buffer
perfetto_filegroup(
name = "src_protozero_proto_ring_buffer",
srcs = [
"src/protozero/proto_ring_buffer.cc",
],
)
# GN target: //src/shared_lib:intern_map
perfetto_filegroup(
name = "src_shared_lib_intern_map",
srcs = [
"src/shared_lib/intern_map.cc",
"src/shared_lib/intern_map.h",
],
)
# GN target: //src/shared_lib:shared_lib
perfetto_filegroup(
name = "src_shared_lib_shared_lib",
srcs = [
"src/shared_lib/data_source.cc",
"src/shared_lib/heap_buffer.cc",
"src/shared_lib/pb_decoder.cc",
"src/shared_lib/producer.cc",
"src/shared_lib/reset_for_testing.h",
"src/shared_lib/stream_writer.cc",
"src/shared_lib/stream_writer.h",
"src/shared_lib/thread_utils.cc",
"src/shared_lib/tracing_session.cc",
"src/shared_lib/track_event.cc",
],
)
# GN target: //src/trace_processor/containers:containers
perfetto_cc_library(
name = "src_trace_processor_containers_containers",
srcs = [
"src/trace_processor/containers/bit_vector.cc",
"src/trace_processor/containers/bit_vector_iterators.cc",
"src/trace_processor/containers/row_map.cc",
"src/trace_processor/containers/string_pool.cc",
],
hdrs = [
":include_perfetto_base_base",
":include_perfetto_protozero_protozero",
":include_perfetto_public_abi_base",
":include_perfetto_public_base",
":include_perfetto_public_protozero",
"src/trace_processor/containers/bit_vector.h",
"src/trace_processor/containers/bit_vector_iterators.h",
"src/trace_processor/containers/null_term_string_view.h",
"src/trace_processor/containers/row_map.h",
"src/trace_processor/containers/row_map_algorithms.h",
"src/trace_processor/containers/string_pool.h",
],
deps = [
":protos_perfetto_common_zero",
":protos_perfetto_trace_processor_zero",
":src_base_base",
],
linkstatic = True,
)
# GN target: //src/trace_processor/db/column:column
perfetto_filegroup(
name = "src_trace_processor_db_column_column",
srcs = [
"src/trace_processor/db/column/arrangement_overlay.cc",
"src/trace_processor/db/column/arrangement_overlay.h",
"src/trace_processor/db/column/data_layer.cc",
"src/trace_processor/db/column/data_layer.h",
"src/trace_processor/db/column/dense_null_overlay.cc",
"src/trace_processor/db/column/dense_null_overlay.h",
"src/trace_processor/db/column/dummy_storage.cc",
"src/trace_processor/db/column/dummy_storage.h",
"src/trace_processor/db/column/id_storage.cc",
"src/trace_processor/db/column/id_storage.h",
"src/trace_processor/db/column/null_overlay.cc",
"src/trace_processor/db/column/null_overlay.h",
"src/trace_processor/db/column/numeric_storage.cc",
"src/trace_processor/db/column/numeric_storage.h",
"src/trace_processor/db/column/range_overlay.cc",
"src/trace_processor/db/column/range_overlay.h",
"src/trace_processor/db/column/selector_overlay.cc",
"src/trace_processor/db/column/selector_overlay.h",
"src/trace_processor/db/column/set_id_storage.cc",
"src/trace_processor/db/column/set_id_storage.h",
"src/trace_processor/db/column/string_storage.cc",
"src/trace_processor/db/column/string_storage.h",
"src/trace_processor/db/column/types.h",
"src/trace_processor/db/column/utils.cc",
"src/trace_processor/db/column/utils.h",
],
)
# GN target: //src/trace_processor/db:db
perfetto_filegroup(
name = "src_trace_processor_db_db",
srcs = [
"src/trace_processor/db/runtime_table.cc",
"src/trace_processor/db/runtime_table.h",
],
)
# GN target: //src/trace_processor/db:minimal
perfetto_filegroup(
name = "src_trace_processor_db_minimal",
srcs = [
"src/trace_processor/db/base_id.h",
"src/trace_processor/db/column.cc",
"src/trace_processor/db/column.h",
"src/trace_processor/db/column_storage.cc",
"src/trace_processor/db/column_storage.h",
"src/trace_processor/db/column_storage_overlay.h",
"src/trace_processor/db/compare.h",
"src/trace_processor/db/query_executor.cc",
"src/trace_processor/db/query_executor.h",
"src/trace_processor/db/table.cc",
"src/trace_processor/db/table.h",
"src/trace_processor/db/typed_column.h",
"src/trace_processor/db/typed_column_internal.h",
],
)
# GN target: //src/trace_processor/importers/android_bugreport:android_bugreport
perfetto_filegroup(
name = "src_trace_processor_importers_android_bugreport_android_bugreport",
srcs = [
"src/trace_processor/importers/android_bugreport/android_bugreport_parser.cc",
"src/trace_processor/importers/android_bugreport/android_bugreport_parser.h",
"src/trace_processor/importers/android_bugreport/android_log_parser.cc",
"src/trace_processor/importers/android_bugreport/android_log_parser.h",
],
)
# GN target: //src/trace_processor/importers/common:common
perfetto_filegroup(
name = "src_trace_processor_importers_common_common",
srcs = [
"src/trace_processor/importers/common/address_range.h",
"src/trace_processor/importers/common/args_tracker.cc",
"src/trace_processor/importers/common/args_tracker.h",
"src/trace_processor/importers/common/args_translation_table.cc",
"src/trace_processor/importers/common/args_translation_table.h",
"src/trace_processor/importers/common/async_track_set_tracker.cc",
"src/trace_processor/importers/common/async_track_set_tracker.h",
"src/trace_processor/importers/common/chunked_trace_reader.h",
"src/trace_processor/importers/common/clock_converter.cc",
"src/trace_processor/importers/common/clock_converter.h",
"src/trace_processor/importers/common/clock_tracker.cc",
"src/trace_processor/importers/common/clock_tracker.h",
"src/trace_processor/importers/common/deobfuscation_mapping_table.cc",
"src/trace_processor/importers/common/deobfuscation_mapping_table.h",
"src/trace_processor/importers/common/event_tracker.cc",
"src/trace_processor/importers/common/event_tracker.h",
"src/trace_processor/importers/common/flow_tracker.cc",
"src/trace_processor/importers/common/flow_tracker.h",
"src/trace_processor/importers/common/global_args_tracker.cc",
"src/trace_processor/importers/common/global_args_tracker.h",
"src/trace_processor/importers/common/metadata_tracker.cc",
"src/trace_processor/importers/common/metadata_tracker.h",
"src/trace_processor/importers/common/process_tracker.cc",
"src/trace_processor/importers/common/process_tracker.h",
"src/trace_processor/importers/common/sched_event_state.h",
"src/trace_processor/importers/common/sched_event_tracker.cc",
"src/trace_processor/importers/common/sched_event_tracker.h",
"src/trace_processor/importers/common/slice_tracker.cc",
"src/trace_processor/importers/common/slice_tracker.h",
"src/trace_processor/importers/common/slice_translation_table.cc",
"src/trace_processor/importers/common/slice_translation_table.h",
"src/trace_processor/importers/common/stack_profile_tracker.cc",
"src/trace_processor/importers/common/stack_profile_tracker.h",
"src/trace_processor/importers/common/system_info_tracker.cc",
"src/trace_processor/importers/common/system_info_tracker.h",
"src/trace_processor/importers/common/thread_state_tracker.cc",
"src/trace_processor/importers/common/thread_state_tracker.h",
"src/trace_processor/importers/common/trace_parser.cc",
"src/trace_processor/importers/common/track_tracker.cc",
"src/trace_processor/importers/common/track_tracker.h",
],
)
# GN target: //src/trace_processor/importers/common:parser_types
perfetto_filegroup(
name = "src_trace_processor_importers_common_parser_types",
srcs = [
"src/trace_processor/importers/common/parser_types.h",
],
)
# GN target: //src/trace_processor/importers/common:trace_parser_hdr
perfetto_filegroup(
name = "src_trace_processor_importers_common_trace_parser_hdr",
srcs = [
"src/trace_processor/importers/common/trace_parser.h",
],
)
# GN target: //src/trace_processor/importers/etw:full
perfetto_filegroup(
name = "src_trace_processor_importers_etw_full",
srcs = [
"src/trace_processor/importers/etw/etw_module.cc",
"src/trace_processor/importers/etw/etw_module.h",
"src/trace_processor/importers/etw/etw_tokenizer.cc",
"src/trace_processor/importers/etw/etw_tokenizer.h",
],
)
# GN target: //src/trace_processor/importers/ftrace:ftrace_descriptors
perfetto_filegroup(
name = "src_trace_processor_importers_ftrace_ftrace_descriptors",
srcs = [
"src/trace_processor/importers/ftrace/ftrace_descriptors.cc",
"src/trace_processor/importers/ftrace/ftrace_descriptors.h",
],
)
# GN target: //src/trace_processor/importers/ftrace:full
perfetto_filegroup(
name = "src_trace_processor_importers_ftrace_full",
srcs = [
"src/trace_processor/importers/ftrace/binder_tracker.cc",
"src/trace_processor/importers/ftrace/binder_tracker.h",
"src/trace_processor/importers/ftrace/drm_tracker.cc",
"src/trace_processor/importers/ftrace/drm_tracker.h",
"src/trace_processor/importers/ftrace/ftrace_module_impl.cc",
"src/trace_processor/importers/ftrace/ftrace_module_impl.h",
"src/trace_processor/importers/ftrace/ftrace_parser.cc",
"src/trace_processor/importers/ftrace/ftrace_parser.h",
"src/trace_processor/importers/ftrace/ftrace_sched_event_tracker.cc",
"src/trace_processor/importers/ftrace/ftrace_sched_event_tracker.h",
"src/trace_processor/importers/ftrace/ftrace_tokenizer.cc",
"src/trace_processor/importers/ftrace/ftrace_tokenizer.h",
"src/trace_processor/importers/ftrace/gpu_work_period_tracker.cc",
"src/trace_processor/importers/ftrace/gpu_work_period_tracker.h",
"src/trace_processor/importers/ftrace/iostat_tracker.cc",
"src/trace_processor/importers/ftrace/iostat_tracker.h",
"src/trace_processor/importers/ftrace/mali_gpu_event_tracker.cc",
"src/trace_processor/importers/ftrace/mali_gpu_event_tracker.h",
"src/trace_processor/importers/ftrace/pkvm_hyp_cpu_tracker.cc",
"src/trace_processor/importers/ftrace/pkvm_hyp_cpu_tracker.h",
"src/trace_processor/importers/ftrace/rss_stat_tracker.cc",
"src/trace_processor/importers/ftrace/rss_stat_tracker.h",
"src/trace_processor/importers/ftrace/v4l2_tracker.cc",
"src/trace_processor/importers/ftrace/v4l2_tracker.h",
"src/trace_processor/importers/ftrace/virtio_gpu_tracker.cc",
"src/trace_processor/importers/ftrace/virtio_gpu_tracker.h",
"src/trace_processor/importers/ftrace/virtio_video_tracker.cc",
"src/trace_processor/importers/ftrace/virtio_video_tracker.h",
],
)
# GN target: //src/trace_processor/importers/ftrace:minimal
perfetto_filegroup(
name = "src_trace_processor_importers_ftrace_minimal",
srcs = [
"src/trace_processor/importers/ftrace/ftrace_module.cc",
"src/trace_processor/importers/ftrace/ftrace_module.h",
],
)
# GN target: //src/trace_processor/importers/fuchsia:fuchsia_record
perfetto_filegroup(
name = "src_trace_processor_importers_fuchsia_fuchsia_record",
srcs = [
"src/trace_processor/importers/fuchsia/fuchsia_record.cc",
"src/trace_processor/importers/fuchsia/fuchsia_record.h",
],
)
# GN target: //src/trace_processor/importers/fuchsia:full
perfetto_filegroup(
name = "src_trace_processor_importers_fuchsia_full",
srcs = [
"src/trace_processor/importers/fuchsia/fuchsia_trace_parser.cc",
"src/trace_processor/importers/fuchsia/fuchsia_trace_parser.h",
"src/trace_processor/importers/fuchsia/fuchsia_trace_tokenizer.cc",
"src/trace_processor/importers/fuchsia/fuchsia_trace_tokenizer.h",
"src/trace_processor/importers/fuchsia/fuchsia_trace_utils.cc",
],
)
# GN target: //src/trace_processor/importers/fuchsia:minimal
perfetto_filegroup(
name = "src_trace_processor_importers_fuchsia_minimal",
srcs = [
"src/trace_processor/importers/fuchsia/fuchsia_trace_utils.h",
],
)
# GN target: //src/trace_processor/importers/gzip:full
perfetto_filegroup(
name = "src_trace_processor_importers_gzip_full",
srcs = [
"src/trace_processor/importers/gzip/gzip_trace_parser.cc",
"src/trace_processor/importers/gzip/gzip_trace_parser.h",
],
)
# GN target: //src/trace_processor/importers/i2c:full
perfetto_filegroup(
name = "src_trace_processor_importers_i2c_full",
srcs = [
"src/trace_processor/importers/i2c/i2c_tracker.cc",
"src/trace_processor/importers/i2c/i2c_tracker.h",
],
)
# GN target: //src/trace_processor/importers/json:full
perfetto_filegroup(
name = "src_trace_processor_importers_json_full",
srcs = [
"src/trace_processor/importers/json/json_trace_parser.cc",
"src/trace_processor/importers/json/json_trace_parser.h",
"src/trace_processor/importers/json/json_trace_tokenizer.cc",
"src/trace_processor/importers/json/json_trace_tokenizer.h",
],
)
# GN target: //src/trace_processor/importers/json:minimal
perfetto_filegroup(
name = "src_trace_processor_importers_json_minimal",
srcs = [
"src/trace_processor/importers/json/json_utils.cc",
"src/trace_processor/importers/json/json_utils.h",
],
)
# GN target: //src/trace_processor/importers/memory_tracker:graph_processor
perfetto_filegroup(
name = "src_trace_processor_importers_memory_tracker_graph_processor",
srcs = [
"src/trace_processor/importers/memory_tracker/graph.cc",
"src/trace_processor/importers/memory_tracker/graph_processor.cc",
"src/trace_processor/importers/memory_tracker/memory_allocator_node_id.cc",
"src/trace_processor/importers/memory_tracker/raw_memory_graph_node.cc",
"src/trace_processor/importers/memory_tracker/raw_process_memory_node.cc",
],
)
# GN target: //src/trace_processor/importers/ninja:ninja
perfetto_filegroup(
name = "src_trace_processor_importers_ninja_ninja",
srcs = [
"src/trace_processor/importers/ninja/ninja_log_parser.cc",
"src/trace_processor/importers/ninja/ninja_log_parser.h",
],
)
# GN target: //src/trace_processor/importers/perf:perf
perfetto_filegroup(
name = "src_trace_processor_importers_perf_perf",
srcs = [
"src/trace_processor/importers/perf/perf_data_parser.cc",
"src/trace_processor/importers/perf/perf_data_parser.h",
"src/trace_processor/importers/perf/perf_data_reader.cc",
"src/trace_processor/importers/perf/perf_data_reader.h",
"src/trace_processor/importers/perf/perf_data_tokenizer.cc",
"src/trace_processor/importers/perf/perf_data_tokenizer.h",
"src/trace_processor/importers/perf/perf_data_tracker.cc",
"src/trace_processor/importers/perf/perf_data_tracker.h",
"src/trace_processor/importers/perf/perf_event.h",
],
)
# GN target: //src/trace_processor/importers/proto/winscope:full
perfetto_filegroup(
name = "src_trace_processor_importers_proto_winscope_full",
srcs = [
"src/trace_processor/importers/proto/winscope/protolog_messages_tracker.cc",
"src/trace_processor/importers/proto/winscope/protolog_messages_tracker.h",
"src/trace_processor/importers/proto/winscope/protolog_parser.cc",
"src/trace_processor/importers/proto/winscope/protolog_parser.h",
"src/trace_processor/importers/proto/winscope/shell_transitions_parser.cc",
"src/trace_processor/importers/proto/winscope/shell_transitions_parser.h",
"src/trace_processor/importers/proto/winscope/shell_transitions_tracker.cc",
"src/trace_processor/importers/proto/winscope/shell_transitions_tracker.h",
"src/trace_processor/importers/proto/winscope/surfaceflinger_layers_parser.cc",
"src/trace_processor/importers/proto/winscope/surfaceflinger_layers_parser.h",
"src/trace_processor/importers/proto/winscope/surfaceflinger_transactions_parser.cc",
"src/trace_processor/importers/proto/winscope/surfaceflinger_transactions_parser.h",
"src/trace_processor/importers/proto/winscope/winscope_args_parser.cc",
"src/trace_processor/importers/proto/winscope/winscope_args_parser.h",
"src/trace_processor/importers/proto/winscope/winscope_module.cc",
"src/trace_processor/importers/proto/winscope/winscope_module.h",
],
)
# GN target: //src/trace_processor/importers/proto/winscope:gen_cc_winscope_descriptor
perfetto_cc_proto_descriptor(
name = "src_trace_processor_importers_proto_winscope_gen_cc_winscope_descriptor",
deps = [
":protos_perfetto_trace_android_winscope_descriptor",
],
outs = [
"src/trace_processor/importers/proto/winscope/winscope.descriptor.h",
],
)
# GN target: //src/trace_processor/importers/proto:full
perfetto_filegroup(
name = "src_trace_processor_importers_proto_full",
srcs = [
"src/trace_processor/importers/proto/additional_modules.cc",
"src/trace_processor/importers/proto/additional_modules.h",
"src/trace_processor/importers/proto/android_camera_event_module.cc",
"src/trace_processor/importers/proto/android_camera_event_module.h",
"src/trace_processor/importers/proto/android_probes_module.cc",
"src/trace_processor/importers/proto/android_probes_module.h",
"src/trace_processor/importers/proto/android_probes_parser.cc",
"src/trace_processor/importers/proto/android_probes_parser.h",
"src/trace_processor/importers/proto/android_probes_tracker.cc",
"src/trace_processor/importers/proto/android_probes_tracker.h",
"src/trace_processor/importers/proto/content_analyzer.cc",
"src/trace_processor/importers/proto/content_analyzer.h",
"src/trace_processor/importers/proto/frame_timeline_event_parser.cc",
"src/trace_processor/importers/proto/frame_timeline_event_parser.h",
"src/trace_processor/importers/proto/gpu_event_parser.cc",
"src/trace_processor/importers/proto/gpu_event_parser.h",
"src/trace_processor/importers/proto/graphics_event_module.cc",
"src/trace_processor/importers/proto/graphics_event_module.h",
"src/trace_processor/importers/proto/graphics_frame_event_parser.cc",
"src/trace_processor/importers/proto/graphics_frame_event_parser.h",
"src/trace_processor/importers/proto/heap_graph_module.cc",
"src/trace_processor/importers/proto/heap_graph_module.h",
"src/trace_processor/importers/proto/heap_graph_tracker.cc",
"src/trace_processor/importers/proto/heap_graph_tracker.h",
"src/trace_processor/importers/proto/metadata_module.cc",
"src/trace_processor/importers/proto/metadata_module.h",
"src/trace_processor/importers/proto/statsd_module.cc",
"src/trace_processor/importers/proto/statsd_module.h",
"src/trace_processor/importers/proto/string_encoding_utils.cc",
"src/trace_processor/importers/proto/string_encoding_utils.h",
"src/trace_processor/importers/proto/system_probes_module.cc",
"src/trace_processor/importers/proto/system_probes_module.h",
"src/trace_processor/importers/proto/system_probes_parser.cc",
"src/trace_processor/importers/proto/system_probes_parser.h",
"src/trace_processor/importers/proto/translation_table_module.cc",
"src/trace_processor/importers/proto/translation_table_module.h",
"src/trace_processor/importers/proto/v8_module.cc",
"src/trace_processor/importers/proto/v8_module.h",
"src/trace_processor/importers/proto/v8_sequence_state.cc",
"src/trace_processor/importers/proto/v8_sequence_state.h",
"src/trace_processor/importers/proto/v8_tracker.cc",
"src/trace_processor/importers/proto/v8_tracker.h",
"src/trace_processor/importers/proto/vulkan_memory_tracker.cc",
"src/trace_processor/importers/proto/vulkan_memory_tracker.h",
],
)
# GN target: //src/trace_processor/importers/proto:gen_cc_chrome_track_event_descriptor
perfetto_cc_proto_descriptor(
name = "src_trace_processor_importers_proto_gen_cc_chrome_track_event_descriptor",
deps = [
":protos_third_party_chromium_descriptor",
],
outs = [
"src/trace_processor/importers/proto/chrome_track_event.descriptor.h",
],
)
# GN target: //src/trace_processor/importers/proto:gen_cc_config_descriptor
perfetto_cc_proto_descriptor(
name = "src_trace_processor_importers_proto_gen_cc_config_descriptor",
deps = [
":protos_perfetto_config_descriptor",
],
outs = [
"src/trace_processor/importers/proto/config.descriptor.h",
],
)
# GN target: //src/trace_processor/importers/proto:gen_cc_statsd_atoms_descriptor
perfetto_cc_proto_descriptor(
name = "src_trace_processor_importers_proto_gen_cc_statsd_atoms_descriptor",
deps = [
"src/trace_processor/importers/proto/atoms.descriptor",
],
outs = [
"src/trace_processor/importers/proto/atoms.descriptor.h",
],
)
# GN target: //src/trace_processor/importers/proto:gen_cc_trace_descriptor
perfetto_cc_proto_descriptor(
name = "src_trace_processor_importers_proto_gen_cc_trace_descriptor",
deps = [
":protos_perfetto_trace_descriptor",
],
outs = [
"src/trace_processor/importers/proto/trace.descriptor.h",
],
)
# GN target: //src/trace_processor/importers/proto:gen_cc_track_event_descriptor
perfetto_cc_proto_descriptor(
name = "src_trace_processor_importers_proto_gen_cc_track_event_descriptor",
deps = [
":protos_perfetto_trace_track_event_descriptor",
],
outs = [
"src/trace_processor/importers/proto/track_event.descriptor.h",
],
)
# GN target: //src/trace_processor/importers/proto:minimal
perfetto_filegroup(
name = "src_trace_processor_importers_proto_minimal",
srcs = [
"src/trace_processor/importers/proto/active_chrome_processes_tracker.cc",
"src/trace_processor/importers/proto/active_chrome_processes_tracker.h",
"src/trace_processor/importers/proto/chrome_string_lookup.cc",
"src/trace_processor/importers/proto/chrome_string_lookup.h",
"src/trace_processor/importers/proto/chrome_system_probes_module.cc",
"src/trace_processor/importers/proto/chrome_system_probes_module.h",
"src/trace_processor/importers/proto/chrome_system_probes_parser.cc",
"src/trace_processor/importers/proto/chrome_system_probes_parser.h",
"src/trace_processor/importers/proto/default_modules.cc",
"src/trace_processor/importers/proto/default_modules.h",
"src/trace_processor/importers/proto/memory_tracker_snapshot_module.cc",
"src/trace_processor/importers/proto/memory_tracker_snapshot_module.h",
"src/trace_processor/importers/proto/memory_tracker_snapshot_parser.cc",
"src/trace_processor/importers/proto/memory_tracker_snapshot_parser.h",
"src/trace_processor/importers/proto/metadata_minimal_module.cc",
"src/trace_processor/importers/proto/metadata_minimal_module.h",
"src/trace_processor/importers/proto/network_trace_module.cc",
"src/trace_processor/importers/proto/network_trace_module.h",
"src/trace_processor/importers/proto/packet_analyzer.cc",
"src/trace_processor/importers/proto/packet_analyzer.h",
"src/trace_processor/importers/proto/packet_sequence_state.h",
"src/trace_processor/importers/proto/packet_sequence_state_generation.cc",
"src/trace_processor/importers/proto/perf_sample_tracker.cc",
"src/trace_processor/importers/proto/perf_sample_tracker.h",
"src/trace_processor/importers/proto/profile_module.cc",
"src/trace_processor/importers/proto/profile_module.h",
"src/trace_processor/importers/proto/profile_packet_sequence_state.cc",
"src/trace_processor/importers/proto/profile_packet_sequence_state.h",
"src/trace_processor/importers/proto/profile_packet_utils.cc",
"src/trace_processor/importers/proto/profile_packet_utils.h",
"src/trace_processor/importers/proto/proto_incremental_state.h",
"src/trace_processor/importers/proto/proto_trace_parser.cc",
"src/trace_processor/importers/proto/proto_trace_parser.h",
"src/trace_processor/importers/proto/proto_trace_reader.cc",
"src/trace_processor/importers/proto/proto_trace_reader.h",
"src/trace_processor/importers/proto/proto_trace_tokenizer.cc",
"src/trace_processor/importers/proto/proto_trace_tokenizer.h",
"src/trace_processor/importers/proto/stack_profile_sequence_state.cc",
"src/trace_processor/importers/proto/stack_profile_sequence_state.h",
"src/trace_processor/importers/proto/track_event_module.cc",
"src/trace_processor/importers/proto/track_event_module.h",
"src/trace_processor/importers/proto/track_event_parser.cc",
"src/trace_processor/importers/proto/track_event_parser.h",
"src/trace_processor/importers/proto/track_event_tokenizer.cc",
"src/trace_processor/importers/proto/track_event_tokenizer.h",
"src/trace_processor/importers/proto/track_event_tracker.cc",
"src/trace_processor/importers/proto/track_event_tracker.h",
],
)
# GN target: //src/trace_processor/importers/proto:packet_sequence_state_generation_hdr
perfetto_filegroup(
name = "src_trace_processor_importers_proto_packet_sequence_state_generation_hdr",
srcs = [
"src/trace_processor/importers/proto/packet_sequence_state_generation.h",
],
)
# GN target: //src/trace_processor/importers/proto:proto_importer_module
perfetto_filegroup(
name = "src_trace_processor_importers_proto_proto_importer_module",
srcs = [
"src/trace_processor/importers/proto/proto_importer_module.cc",
"src/trace_processor/importers/proto/proto_importer_module.h",
],
)
# GN target: //src/trace_processor/importers/syscalls:full
perfetto_filegroup(
name = "src_trace_processor_importers_syscalls_full",
srcs = [
"src/trace_processor/importers/syscalls/syscall_tracker.cc",
"src/trace_processor/importers/syscalls/syscall_tracker.h",
],
)
# GN target: //src/trace_processor/importers/systrace:full
perfetto_filegroup(
name = "src_trace_processor_importers_systrace_full",
srcs = [
"src/trace_processor/importers/systrace/systrace_line_parser.cc",
"src/trace_processor/importers/systrace/systrace_line_parser.h",
"src/trace_processor/importers/systrace/systrace_line_tokenizer.cc",
"src/trace_processor/importers/systrace/systrace_line_tokenizer.h",
"src/trace_processor/importers/systrace/systrace_trace_parser.cc",
"src/trace_processor/importers/systrace/systrace_trace_parser.h",
],
)
# GN target: //src/trace_processor/importers/systrace:systrace_line
perfetto_filegroup(
name = "src_trace_processor_importers_systrace_systrace_line",
srcs = [
"src/trace_processor/importers/systrace/systrace_line.h",
],
)
# GN target: //src/trace_processor/importers/systrace:systrace_parser
perfetto_filegroup(
name = "src_trace_processor_importers_systrace_systrace_parser",
srcs = [
"src/trace_processor/importers/systrace/systrace_parser.cc",
"src/trace_processor/importers/systrace/systrace_parser.h",
],
)
# GN target: //src/trace_processor/metrics/sql/android:android
perfetto_filegroup(
name = "src_trace_processor_metrics_sql_android_android",
srcs = [
"src/trace_processor/metrics/sql/android/ad_services_metric.sql",
"src/trace_processor/metrics/sql/android/android_anr.sql",
"src/trace_processor/metrics/sql/android/android_batt.sql",
"src/trace_processor/metrics/sql/android/android_binder.sql",
"src/trace_processor/metrics/sql/android/android_blocking_calls_cuj_metric.sql",
"src/trace_processor/metrics/sql/android/android_boot.sql",
"src/trace_processor/metrics/sql/android/android_boot_unagg.sql",
"src/trace_processor/metrics/sql/android/android_camera.sql",
"src/trace_processor/metrics/sql/android/android_camera_unagg.sql",
"src/trace_processor/metrics/sql/android/android_cpu.sql",
"src/trace_processor/metrics/sql/android/android_cpu_agg.sql",
"src/trace_processor/metrics/sql/android/android_cpu_raw_metrics_per_core.sql",
"src/trace_processor/metrics/sql/android/android_dma_heap.sql",
"src/trace_processor/metrics/sql/android/android_dvfs.sql",
"src/trace_processor/metrics/sql/android/android_fastrpc.sql",
"src/trace_processor/metrics/sql/android/android_frame_timeline_metric.sql",
"src/trace_processor/metrics/sql/android/android_garbage_collection_unagg.sql",
"src/trace_processor/metrics/sql/android/android_gpu.sql",
"src/trace_processor/metrics/sql/android/android_hwcomposer.sql",
"src/trace_processor/metrics/sql/android/android_hwui_metric.sql",
"src/trace_processor/metrics/sql/android/android_hwui_threads.sql",
"src/trace_processor/metrics/sql/android/android_io.sql",
"src/trace_processor/metrics/sql/android/android_io_unagg.sql",
"src/trace_processor/metrics/sql/android/android_ion.sql",
"src/trace_processor/metrics/sql/android/android_irq_runtime.sql",
"src/trace_processor/metrics/sql/android/android_jank_cuj.sql",
"src/trace_processor/metrics/sql/android/android_lmk.sql",
"src/trace_processor/metrics/sql/android/android_lmk_reason.sql",
"src/trace_processor/metrics/sql/android/android_mem.sql",
"src/trace_processor/metrics/sql/android/android_mem_unagg.sql",
"src/trace_processor/metrics/sql/android/android_monitor_contention.sql",
"src/trace_processor/metrics/sql/android/android_monitor_contention_agg.sql",
"src/trace_processor/metrics/sql/android/android_multiuser.sql",
"src/trace_processor/metrics/sql/android/android_multiuser_populator.sql",
"src/trace_processor/metrics/sql/android/android_netperf.sql",
"src/trace_processor/metrics/sql/android/android_other_traces.sql",
"src/trace_processor/metrics/sql/android/android_package_list.sql",
"src/trace_processor/metrics/sql/android/android_powrails.sql",
"src/trace_processor/metrics/sql/android/android_proxy_power.sql",
"src/trace_processor/metrics/sql/android/android_rt_runtime.sql",
"src/trace_processor/metrics/sql/android/android_simpleperf.sql",
"src/trace_processor/metrics/sql/android/android_startup.sql",
"src/trace_processor/metrics/sql/android/android_surfaceflinger.sql",
"src/trace_processor/metrics/sql/android/android_sysui_notifications_blocking_calls_metric.sql",
"src/trace_processor/metrics/sql/android/android_task_names.sql",
"src/trace_processor/metrics/sql/android/android_trace_quality.sql",
"src/trace_processor/metrics/sql/android/android_trusty_workqueues.sql",
"src/trace_processor/metrics/sql/android/codec_metrics.sql",
"src/trace_processor/metrics/sql/android/composer_execution.sql",
"src/trace_processor/metrics/sql/android/composition_layers.sql",
"src/trace_processor/metrics/sql/android/counter_span_view_merged.sql",
"src/trace_processor/metrics/sql/android/cpu_info.sql",
"src/trace_processor/metrics/sql/android/display_metrics.sql",
"src/trace_processor/metrics/sql/android/frame_missed.sql",
"src/trace_processor/metrics/sql/android/g2d.sql",
"src/trace_processor/metrics/sql/android/g2d_duration.sql",
"src/trace_processor/metrics/sql/android/global_counter_span_view.sql",
"src/trace_processor/metrics/sql/android/gpu_counter_span_view.sql",
"src/trace_processor/metrics/sql/android/jank/cujs.sql",
"src/trace_processor/metrics/sql/android/jank/cujs_boundaries.sql",
"src/trace_processor/metrics/sql/android/jank/frames.sql",
"src/trace_processor/metrics/sql/android/jank/internal/counters.sql",
"src/trace_processor/metrics/sql/android/jank/internal/derived_events.sql",
"src/trace_processor/metrics/sql/android/jank/internal/query_base.sql",
"src/trace_processor/metrics/sql/android/jank/internal/query_frame_slice.sql",
"src/trace_processor/metrics/sql/android/jank/params.sql",
"src/trace_processor/metrics/sql/android/jank/query_functions.sql",
"src/trace_processor/metrics/sql/android/jank/relevant_slices.sql",
"src/trace_processor/metrics/sql/android/jank/relevant_threads.sql",
"src/trace_processor/metrics/sql/android/jank/slices.sql",
"src/trace_processor/metrics/sql/android/java_heap_histogram.sql",
"src/trace_processor/metrics/sql/android/java_heap_stats.sql",
"src/trace_processor/metrics/sql/android/mem_stats_priority_breakdown.sql",
"src/trace_processor/metrics/sql/android/network_activity_template.sql",
"src/trace_processor/metrics/sql/android/p_state.sql",
"src/trace_processor/metrics/sql/android/power_drain_in_watts.sql",
"src/trace_processor/metrics/sql/android/power_profile_data.sql",
"src/trace_processor/metrics/sql/android/power_profile_data/barbet.sql",
"src/trace_processor/metrics/sql/android/power_profile_data/bluejay.sql",
"src/trace_processor/metrics/sql/android/power_profile_data/blueline.sql",
"src/trace_processor/metrics/sql/android/power_profile_data/bonito.sql",
"src/trace_processor/metrics/sql/android/power_profile_data/bramble.sql",
"src/trace_processor/metrics/sql/android/power_profile_data/coral.sql",
"src/trace_processor/metrics/sql/android/power_profile_data/crosshatch.sql",
"src/trace_processor/metrics/sql/android/power_profile_data/flame.sql",
"src/trace_processor/metrics/sql/android/power_profile_data/marlin.sql",
"src/trace_processor/metrics/sql/android/power_profile_data/oriole.sql",
"src/trace_processor/metrics/sql/android/power_profile_data/raven.sql",
"src/trace_processor/metrics/sql/android/power_profile_data/redfin.sql",
"src/trace_processor/metrics/sql/android/power_profile_data/sargo.sql",
"src/trace_processor/metrics/sql/android/power_profile_data/sunfish.sql",
"src/trace_processor/metrics/sql/android/power_profile_data/taimen.sql",
"src/trace_processor/metrics/sql/android/power_profile_data/walleye.sql",
"src/trace_processor/metrics/sql/android/process_counter_span_view.sql",
"src/trace_processor/metrics/sql/android/process_mem.sql",
"src/trace_processor/metrics/sql/android/process_metadata.sql",
"src/trace_processor/metrics/sql/android/process_oom_score.sql",
"src/trace_processor/metrics/sql/android/process_unagg_mem_view.sql",
"src/trace_processor/metrics/sql/android/profiler_smaps.sql",
"src/trace_processor/metrics/sql/android/span_view_stats.sql",
"src/trace_processor/metrics/sql/android/startup/android_app_process_starts.sql",
"src/trace_processor/metrics/sql/android/startup/gc_slices.sql",
"src/trace_processor/metrics/sql/android/startup/hsc.sql",
"src/trace_processor/metrics/sql/android/startup/launches.sql",
"src/trace_processor/metrics/sql/android/startup/launches_maxsdk28.sql",
"src/trace_processor/metrics/sql/android/startup/launches_minsdk29.sql",
"src/trace_processor/metrics/sql/android/startup/launches_minsdk33.sql",
"src/trace_processor/metrics/sql/android/startup/mcycles_per_launch.sql",
"src/trace_processor/metrics/sql/android/startup/slice_functions.sql",
"src/trace_processor/metrics/sql/android/startup/slow_start_reasons.sql",
"src/trace_processor/metrics/sql/android/startup/system_state.sql",
"src/trace_processor/metrics/sql/android/startup/thread_state_breakdown.sql",
"src/trace_processor/metrics/sql/android/sysui_notif_shade_list_builder_metric.sql",
"src/trace_processor/metrics/sql/android/sysui_notif_shade_list_builder_slices.sql",
"src/trace_processor/metrics/sql/android/sysui_update_notif_on_ui_mode_changed_metric.sql",
"src/trace_processor/metrics/sql/android/unsymbolized_frames.sql",
],
)
# GN target: //src/trace_processor/metrics/sql/chrome:chrome_sql
perfetto_filegroup(
name = "src_trace_processor_metrics_sql_chrome_chrome_sql",
srcs = [
"src/trace_processor/metrics/sql/chrome/actual_power_by_category.sql",
"src/trace_processor/metrics/sql/chrome/actual_power_by_rail_mode.sql",
"src/trace_processor/metrics/sql/chrome/chrome_args_class_names.sql",
"src/trace_processor/metrics/sql/chrome/chrome_event_metadata.sql",
"src/trace_processor/metrics/sql/chrome/chrome_histogram_hashes.sql",
"src/trace_processor/metrics/sql/chrome/chrome_input_to_browser_intervals.sql",
"src/trace_processor/metrics/sql/chrome/chrome_input_to_browser_intervals_base.sql",
"src/trace_processor/metrics/sql/chrome/chrome_input_to_browser_intervals_template.sql",
"src/trace_processor/metrics/sql/chrome/chrome_long_tasks.sql",
"src/trace_processor/metrics/sql/chrome/chrome_long_tasks_delaying_input_processing.sql",
"src/trace_processor/metrics/sql/chrome/chrome_performance_mark_hashes.sql",
"src/trace_processor/metrics/sql/chrome/chrome_processes.sql",
"src/trace_processor/metrics/sql/chrome/chrome_reliable_range.sql",
"src/trace_processor/metrics/sql/chrome/chrome_scroll_inputs_per_frame.sql",
"src/trace_processor/metrics/sql/chrome/chrome_scroll_jank_caused_by_scheduling.sql",
"src/trace_processor/metrics/sql/chrome/chrome_scroll_jank_v3.sql",
"src/trace_processor/metrics/sql/chrome/chrome_slice_names.sql",
"src/trace_processor/metrics/sql/chrome/chrome_stack_samples_for_task.sql",
"src/trace_processor/metrics/sql/chrome/chrome_tasks.sql",
"src/trace_processor/metrics/sql/chrome/chrome_tasks_delaying_input_processing.sql",
"src/trace_processor/metrics/sql/chrome/chrome_tasks_delaying_input_processing_base.sql",
"src/trace_processor/metrics/sql/chrome/chrome_tasks_delaying_input_processing_template.sql",
"src/trace_processor/metrics/sql/chrome/chrome_thread_slice.sql",
"src/trace_processor/metrics/sql/chrome/chrome_unsymbolized_args.sql",
"src/trace_processor/metrics/sql/chrome/chrome_user_event_hashes.sql",
"src/trace_processor/metrics/sql/chrome/cpu_time_by_category.sql",
"src/trace_processor/metrics/sql/chrome/cpu_time_by_rail_mode.sql",
"src/trace_processor/metrics/sql/chrome/estimated_power_by_category.sql",
"src/trace_processor/metrics/sql/chrome/estimated_power_by_rail_mode.sql",
"src/trace_processor/metrics/sql/chrome/experimental_reliable_chrome_tasks_delaying_input_processing.sql",
"src/trace_processor/metrics/sql/chrome/gesture_flow_event.sql",
"src/trace_processor/metrics/sql/chrome/gesture_flow_event_queuing_delay.sql",
"src/trace_processor/metrics/sql/chrome/gesture_jank.sql",
"src/trace_processor/metrics/sql/chrome/rail_modes.sql",
"src/trace_processor/metrics/sql/chrome/scroll_flow_event.sql",
"src/trace_processor/metrics/sql/chrome/scroll_flow_event_queuing_delay.sql",
"src/trace_processor/metrics/sql/chrome/scroll_jank.sql",
"src/trace_processor/metrics/sql/chrome/scroll_jank_cause.sql",
"src/trace_processor/metrics/sql/chrome/scroll_jank_cause_blocking_task.sql",
"src/trace_processor/metrics/sql/chrome/scroll_jank_cause_blocking_touch_move.sql",
"src/trace_processor/metrics/sql/chrome/scroll_jank_cause_get_bitmap.sql",
"src/trace_processor/metrics/sql/chrome/scroll_jank_cause_queuing_delay.sql",
"src/trace_processor/metrics/sql/chrome/sufficient_chrome_processes.sql",
"src/trace_processor/metrics/sql/chrome/test_chrome_metric.sql",
"src/trace_processor/metrics/sql/chrome/touch_flow_event.sql",
"src/trace_processor/metrics/sql/chrome/touch_flow_event_queuing_delay.sql",
"src/trace_processor/metrics/sql/chrome/touch_jank.sql",
],
)
# GN target: //src/trace_processor/metrics/sql/common:common
perfetto_filegroup(
name = "src_trace_processor_metrics_sql_common_common",
srcs = [
"src/trace_processor/metrics/sql/common/parent_slice.sql",
],
)
# GN target: //src/trace_processor/metrics/sql/experimental:experimental
perfetto_filegroup(
name = "src_trace_processor_metrics_sql_experimental_experimental",
srcs = [
"src/trace_processor/metrics/sql/experimental/chrome_dropped_frames.sql",
"src/trace_processor/metrics/sql/experimental/chrome_long_latency.sql",
"src/trace_processor/metrics/sql/experimental/frame_times.sql",
"src/trace_processor/metrics/sql/experimental/media_metric.sql",
"src/trace_processor/metrics/sql/experimental/reported_by_page.sql",
],
)
# GN target: //src/trace_processor/metrics/sql/webview:webview
perfetto_filegroup(
name = "src_trace_processor_metrics_sql_webview_webview",
srcs = [
"src/trace_processor/metrics/sql/webview/webview_jank_approximation.sql",
"src/trace_processor/metrics/sql/webview/webview_power_usage.sql",
],
)
# GN target: //src/trace_processor/metrics/sql:gen_amalgamated_sql_metrics
perfetto_cc_amalgamated_sql(
name = "src_trace_processor_metrics_sql_gen_amalgamated_sql_metrics",
deps = [
":src_trace_processor_metrics_sql_android_android",
":src_trace_processor_metrics_sql_chrome_chrome_sql",
":src_trace_processor_metrics_sql_common_common",
":src_trace_processor_metrics_sql_experimental_experimental",
":src_trace_processor_metrics_sql_misc_sql",
":src_trace_processor_metrics_sql_webview_webview",
],
outs = [
"src/trace_processor/metrics/sql/amalgamated_sql_metrics.h",
],
namespace = "sql_metrics",
)
# GN target: //src/trace_processor/metrics/sql:misc_sql
perfetto_filegroup(
name = "src_trace_processor_metrics_sql_misc_sql",
srcs = [
"src/trace_processor/metrics/sql/trace_metadata.sql",
"src/trace_processor/metrics/sql/trace_stats.sql",
],
)
# GN target: //src/trace_processor/metrics:gen_cc_all_chrome_metrics_descriptor
perfetto_cc_proto_descriptor(
name = "src_trace_processor_metrics_gen_cc_all_chrome_metrics_descriptor",
deps = [
":protos_perfetto_metrics_chrome_descriptor",
],
outs = [
"src/trace_processor/metrics/all_chrome_metrics.descriptor.h",
],
)
# GN target: //src/trace_processor/metrics:gen_cc_all_webview_metrics_descriptor
perfetto_cc_proto_descriptor(
name = "src_trace_processor_metrics_gen_cc_all_webview_metrics_descriptor",
deps = [
":protos_perfetto_metrics_webview_descriptor",
],
outs = [
"src/trace_processor/metrics/all_webview_metrics.descriptor.h",
],
)
# GN target: //src/trace_processor/metrics:gen_cc_metrics_descriptor
perfetto_cc_proto_descriptor(
name = "src_trace_processor_metrics_gen_cc_metrics_descriptor",
deps = [
":protos_perfetto_metrics_descriptor",
],
outs = [
"src/trace_processor/metrics/metrics.descriptor.h",
],
)
# GN target: //src/trace_processor/metrics:metrics
perfetto_filegroup(
name = "src_trace_processor_metrics_metrics",
srcs = [
"src/trace_processor/metrics/metrics.cc",
"src/trace_processor/metrics/metrics.h",
],
)
# GN target: //src/trace_processor/perfetto_sql/engine:engine
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_engine_engine",
srcs = [
"src/trace_processor/perfetto_sql/engine/created_function.cc",
"src/trace_processor/perfetto_sql/engine/created_function.h",
"src/trace_processor/perfetto_sql/engine/function_util.cc",
"src/trace_processor/perfetto_sql/engine/function_util.h",
"src/trace_processor/perfetto_sql/engine/perfetto_sql_engine.cc",
"src/trace_processor/perfetto_sql/engine/perfetto_sql_engine.h",
"src/trace_processor/perfetto_sql/engine/perfetto_sql_parser.cc",
"src/trace_processor/perfetto_sql/engine/perfetto_sql_parser.h",
"src/trace_processor/perfetto_sql/engine/perfetto_sql_preprocessor.cc",
"src/trace_processor/perfetto_sql/engine/perfetto_sql_preprocessor.h",
"src/trace_processor/perfetto_sql/engine/runtime_table_function.cc",
"src/trace_processor/perfetto_sql/engine/runtime_table_function.h",
],
)
# GN target: //src/trace_processor/perfetto_sql/intrinsics/functions:functions
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_intrinsics_functions_functions",
srcs = [
"src/trace_processor/perfetto_sql/intrinsics/functions/clock_functions.h",
"src/trace_processor/perfetto_sql/intrinsics/functions/create_function.cc",
"src/trace_processor/perfetto_sql/intrinsics/functions/create_function.h",
"src/trace_processor/perfetto_sql/intrinsics/functions/create_view_function.cc",
"src/trace_processor/perfetto_sql/intrinsics/functions/create_view_function.h",
"src/trace_processor/perfetto_sql/intrinsics/functions/import.cc",
"src/trace_processor/perfetto_sql/intrinsics/functions/import.h",
"src/trace_processor/perfetto_sql/intrinsics/functions/layout_functions.cc",
"src/trace_processor/perfetto_sql/intrinsics/functions/layout_functions.h",
"src/trace_processor/perfetto_sql/intrinsics/functions/math.cc",
"src/trace_processor/perfetto_sql/intrinsics/functions/math.h",
"src/trace_processor/perfetto_sql/intrinsics/functions/pprof_functions.cc",
"src/trace_processor/perfetto_sql/intrinsics/functions/pprof_functions.h",
"src/trace_processor/perfetto_sql/intrinsics/functions/sqlite3_str_split.cc",
"src/trace_processor/perfetto_sql/intrinsics/functions/sqlite3_str_split.h",
"src/trace_processor/perfetto_sql/intrinsics/functions/stack_functions.cc",
"src/trace_processor/perfetto_sql/intrinsics/functions/stack_functions.h",
"src/trace_processor/perfetto_sql/intrinsics/functions/to_ftrace.cc",
"src/trace_processor/perfetto_sql/intrinsics/functions/to_ftrace.h",
"src/trace_processor/perfetto_sql/intrinsics/functions/utils.h",
"src/trace_processor/perfetto_sql/intrinsics/functions/window_functions.h",
],
)
# GN target: //src/trace_processor/perfetto_sql/intrinsics/functions:interface
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_intrinsics_functions_interface",
srcs = [
"src/trace_processor/perfetto_sql/intrinsics/functions/sql_function.cc",
"src/trace_processor/perfetto_sql/intrinsics/functions/sql_function.h",
],
)
# GN target: //src/trace_processor/perfetto_sql/intrinsics/operators:operators
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_intrinsics_operators_operators",
srcs = [
"src/trace_processor/perfetto_sql/intrinsics/operators/span_join_operator.cc",
"src/trace_processor/perfetto_sql/intrinsics/operators/span_join_operator.h",
"src/trace_processor/perfetto_sql/intrinsics/operators/window_operator.cc",
"src/trace_processor/perfetto_sql/intrinsics/operators/window_operator.h",
],
)
# GN target: //src/trace_processor/perfetto_sql/intrinsics/table_functions:interface
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_intrinsics_table_functions_interface",
srcs = [
"src/trace_processor/perfetto_sql/intrinsics/table_functions/static_table_function.cc",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/static_table_function.h",
],
)
# GN target: //src/trace_processor/perfetto_sql/intrinsics/table_functions:table_functions
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_intrinsics_table_functions_table_functions",
srcs = [
"src/trace_processor/perfetto_sql/intrinsics/table_functions/ancestor.cc",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/ancestor.h",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/connected_flow.cc",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/connected_flow.h",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/descendant.cc",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/descendant.h",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/dfs.cc",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/dfs.h",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/dominator_tree.cc",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/dominator_tree.h",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_annotated_stack.cc",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_annotated_stack.h",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_counter_dur.cc",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_counter_dur.h",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_flamegraph.cc",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_flamegraph.h",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_flat_slice.cc",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_flat_slice.h",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_sched_upid.cc",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_sched_upid.h",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_slice_layout.cc",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/experimental_slice_layout.h",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/flamegraph_construction_algorithms.cc",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/flamegraph_construction_algorithms.h",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/table_info.cc",
"src/trace_processor/perfetto_sql/intrinsics/table_functions/table_info.h",
],
)
# GN target: //src/trace_processor/perfetto_sql/intrinsics/table_functions:tables
perfetto_cc_tp_tables(
name = "src_trace_processor_perfetto_sql_intrinsics_table_functions_tables",
srcs = [
"src/trace_processor/perfetto_sql/intrinsics/table_functions/tables.py",
],
deps = [
":src_trace_processor_tables_tables_python",
],
outs = [
"src/trace_processor/perfetto_sql/intrinsics/table_functions/tables_py.h",
],
)
# GN target: //src/trace_processor/perfetto_sql/prelude:prelude
perfetto_cc_amalgamated_sql(
name = "src_trace_processor_perfetto_sql_prelude_prelude",
deps = [
":src_trace_processor_perfetto_sql_prelude_sources",
],
outs = [
"src/trace_processor/perfetto_sql/prelude/tables_views.h",
],
namespace = "prelude::tables_views",
)
# GN target: //src/trace_processor/perfetto_sql/prelude:sources
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_prelude_sources",
srcs = [
"src/trace_processor/perfetto_sql/prelude/tables.sql",
"src/trace_processor/perfetto_sql/prelude/views.sql",
],
)
# GN target: //src/trace_processor/perfetto_sql/stdlib/android/startup:startup
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_stdlib_android_startup_startup",
srcs = [
"src/trace_processor/perfetto_sql/stdlib/android/startup/startup_events.sql",
"src/trace_processor/perfetto_sql/stdlib/android/startup/startups.sql",
"src/trace_processor/perfetto_sql/stdlib/android/startup/startups_maxsdk28.sql",
"src/trace_processor/perfetto_sql/stdlib/android/startup/startups_minsdk29.sql",
"src/trace_processor/perfetto_sql/stdlib/android/startup/startups_minsdk33.sql",
],
)
# GN target: //src/trace_processor/perfetto_sql/stdlib/android:android
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_stdlib_android_android",
srcs = [
"src/trace_processor/perfetto_sql/stdlib/android/anrs.sql",
"src/trace_processor/perfetto_sql/stdlib/android/app_process_starts.sql",
"src/trace_processor/perfetto_sql/stdlib/android/battery.sql",
"src/trace_processor/perfetto_sql/stdlib/android/battery_stats.sql",
"src/trace_processor/perfetto_sql/stdlib/android/binder.sql",
"src/trace_processor/perfetto_sql/stdlib/android/broadcasts.sql",
"src/trace_processor/perfetto_sql/stdlib/android/dvfs.sql",
"src/trace_processor/perfetto_sql/stdlib/android/freezer.sql",
"src/trace_processor/perfetto_sql/stdlib/android/garbage_collection.sql",
"src/trace_processor/perfetto_sql/stdlib/android/input.sql",
"src/trace_processor/perfetto_sql/stdlib/android/io.sql",
"src/trace_processor/perfetto_sql/stdlib/android/job_scheduler.sql",
"src/trace_processor/perfetto_sql/stdlib/android/monitor_contention.sql",
"src/trace_processor/perfetto_sql/stdlib/android/network_packets.sql",
"src/trace_processor/perfetto_sql/stdlib/android/oom_adjuster.sql",
"src/trace_processor/perfetto_sql/stdlib/android/process_metadata.sql",
"src/trace_processor/perfetto_sql/stdlib/android/screenshots.sql",
"src/trace_processor/perfetto_sql/stdlib/android/services.sql",
"src/trace_processor/perfetto_sql/stdlib/android/slices.sql",
"src/trace_processor/perfetto_sql/stdlib/android/statsd.sql",
"src/trace_processor/perfetto_sql/stdlib/android/suspend.sql",
"src/trace_processor/perfetto_sql/stdlib/android/thread.sql",
],
)
# GN target: //src/trace_processor/perfetto_sql/stdlib/chrome:chrome_sql
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_stdlib_chrome_chrome_sql",
srcs = glob(["src/trace_processor/perfetto_sql/stdlib/chrome/**/*.sql"]),
)
# GN target: //src/trace_processor/perfetto_sql/stdlib/common:common
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_stdlib_common_common",
srcs = [
"src/trace_processor/perfetto_sql/stdlib/common/args.sql",
"src/trace_processor/perfetto_sql/stdlib/common/counters.sql",
"src/trace_processor/perfetto_sql/stdlib/common/cpus.sql",
"src/trace_processor/perfetto_sql/stdlib/common/metadata.sql",
"src/trace_processor/perfetto_sql/stdlib/common/percentiles.sql",
"src/trace_processor/perfetto_sql/stdlib/common/slices.sql",
"src/trace_processor/perfetto_sql/stdlib/common/thread_states.sql",
"src/trace_processor/perfetto_sql/stdlib/common/timestamps.sql",
],
)
# GN target: //src/trace_processor/perfetto_sql/stdlib/counters:counters
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_stdlib_counters_counters",
srcs = [
"src/trace_processor/perfetto_sql/stdlib/counters/intervals.sql",
],
)
# GN target: //src/trace_processor/perfetto_sql/stdlib/cpu:cpu
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_stdlib_cpu_cpu",
srcs = [
"src/trace_processor/perfetto_sql/stdlib/cpu/cpus.sql",
"src/trace_processor/perfetto_sql/stdlib/cpu/size.sql",
],
)
# GN target: //src/trace_processor/perfetto_sql/stdlib/deprecated/v42/common:common
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_stdlib_deprecated_v42_common_common",
srcs = [
"src/trace_processor/perfetto_sql/stdlib/deprecated/v42/common/args.sql",
"src/trace_processor/perfetto_sql/stdlib/deprecated/v42/common/counters.sql",
"src/trace_processor/perfetto_sql/stdlib/deprecated/v42/common/cpus.sql",
"src/trace_processor/perfetto_sql/stdlib/deprecated/v42/common/metadata.sql",
"src/trace_processor/perfetto_sql/stdlib/deprecated/v42/common/percentiles.sql",
"src/trace_processor/perfetto_sql/stdlib/deprecated/v42/common/slices.sql",
"src/trace_processor/perfetto_sql/stdlib/deprecated/v42/common/thread_states.sql",
"src/trace_processor/perfetto_sql/stdlib/deprecated/v42/common/timestamps.sql",
],
)
# GN target: //src/trace_processor/perfetto_sql/stdlib/graphs:graphs
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_stdlib_graphs_graphs",
srcs = [
"src/trace_processor/perfetto_sql/stdlib/graphs/dominator_tree.sql",
"src/trace_processor/perfetto_sql/stdlib/graphs/search.sql",
],
)
# GN target: //src/trace_processor/perfetto_sql/stdlib/intervals:intervals
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_stdlib_intervals_intervals",
srcs = [
"src/trace_processor/perfetto_sql/stdlib/intervals/overlap.sql",
],
)
# GN target: //src/trace_processor/perfetto_sql/stdlib/linux:linux
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_stdlib_linux_linux",
srcs = [
"src/trace_processor/perfetto_sql/stdlib/linux/cpu_idle.sql",
],
)
# GN target: //src/trace_processor/perfetto_sql/stdlib/pkvm:pkvm
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_stdlib_pkvm_pkvm",
srcs = [
"src/trace_processor/perfetto_sql/stdlib/pkvm/hypervisor.sql",
],
)
# GN target: //src/trace_processor/perfetto_sql/stdlib/prelude:prelude
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_stdlib_prelude_prelude",
srcs = [
"src/trace_processor/perfetto_sql/stdlib/prelude/casts.sql",
"src/trace_processor/perfetto_sql/stdlib/prelude/slices.sql",
"src/trace_processor/perfetto_sql/stdlib/prelude/trace_bounds.sql",
],
)
# GN target: //src/trace_processor/perfetto_sql/stdlib/sched/utilization:utilization
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_stdlib_sched_utilization_utilization",
srcs = [
"src/trace_processor/perfetto_sql/stdlib/sched/utilization/general.sql",
"src/trace_processor/perfetto_sql/stdlib/sched/utilization/process.sql",
"src/trace_processor/perfetto_sql/stdlib/sched/utilization/system.sql",
"src/trace_processor/perfetto_sql/stdlib/sched/utilization/thread.sql",
],
)
# GN target: //src/trace_processor/perfetto_sql/stdlib/sched:sched
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_stdlib_sched_sched",
srcs = [
"src/trace_processor/perfetto_sql/stdlib/sched/states.sql",
"src/trace_processor/perfetto_sql/stdlib/sched/thread_executing_span.sql",
"src/trace_processor/perfetto_sql/stdlib/sched/thread_level_parallelism.sql",
"src/trace_processor/perfetto_sql/stdlib/sched/thread_state_flattened.sql",
],
)
# GN target: //src/trace_processor/perfetto_sql/stdlib/slices:slices
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_stdlib_slices_slices",
srcs = [
"src/trace_processor/perfetto_sql/stdlib/slices/cpu_time.sql",
"src/trace_processor/perfetto_sql/stdlib/slices/flat_slices.sql",
"src/trace_processor/perfetto_sql/stdlib/slices/slices.sql",
"src/trace_processor/perfetto_sql/stdlib/slices/with_context.sql",
],
)
# GN target: //src/trace_processor/perfetto_sql/stdlib/time:time
perfetto_filegroup(
name = "src_trace_processor_perfetto_sql_stdlib_time_time",
srcs = [
"src/trace_processor/perfetto_sql/stdlib/time/conversion.sql",
],
)
# GN target: //src/trace_processor/perfetto_sql/stdlib:stdlib
perfetto_cc_amalgamated_sql(
name = "src_trace_processor_perfetto_sql_stdlib_stdlib",
deps = [
":src_trace_processor_perfetto_sql_stdlib_android_android",
":src_trace_processor_perfetto_sql_stdlib_android_startup_startup",
":src_trace_processor_perfetto_sql_stdlib_chrome_chrome_sql",
":src_trace_processor_perfetto_sql_stdlib_common_common",
":src_trace_processor_perfetto_sql_stdlib_counters_counters",
":src_trace_processor_perfetto_sql_stdlib_cpu_cpu",
":src_trace_processor_perfetto_sql_stdlib_deprecated_v42_common_common",
":src_trace_processor_perfetto_sql_stdlib_graphs_graphs",
":src_trace_processor_perfetto_sql_stdlib_intervals_intervals",
":src_trace_processor_perfetto_sql_stdlib_linux_linux",
":src_trace_processor_perfetto_sql_stdlib_pkvm_pkvm",
":src_trace_processor_perfetto_sql_stdlib_prelude_prelude",
":src_trace_processor_perfetto_sql_stdlib_sched_sched",
":src_trace_processor_perfetto_sql_stdlib_sched_utilization_utilization",
":src_trace_processor_perfetto_sql_stdlib_slices_slices",
":src_trace_processor_perfetto_sql_stdlib_time_time",
],
outs = [
"src/trace_processor/perfetto_sql/stdlib/stdlib.h",
],
namespace = "stdlib",
)
# GN target: //src/trace_processor/rpc:httpd
perfetto_filegroup(
name = "src_trace_processor_rpc_httpd",
srcs = [
"src/trace_processor/rpc/httpd.cc",
"src/trace_processor/rpc/httpd.h",
],
)
# GN target: //src/trace_processor/rpc:rpc
perfetto_filegroup(
name = "src_trace_processor_rpc_rpc",
srcs = [
"src/trace_processor/rpc/query_result_serializer.cc",
"src/trace_processor/rpc/rpc.cc",
"src/trace_processor/rpc/rpc.h",
],
)
# GN target: //src/trace_processor/rpc:stdiod
perfetto_filegroup(
name = "src_trace_processor_rpc_stdiod",
srcs = [
"src/trace_processor/rpc/stdiod.cc",
"src/trace_processor/rpc/stdiod.h",
],
)
# GN target: //src/trace_processor/sorter:sorter
perfetto_filegroup(
name = "src_trace_processor_sorter_sorter",
srcs = [
"src/trace_processor/sorter/trace_sorter.cc",
"src/trace_processor/sorter/trace_sorter.h",
"src/trace_processor/sorter/trace_token_buffer.cc",
"src/trace_processor/sorter/trace_token_buffer.h",
],
)
# GN target: //src/trace_processor/sqlite:query_constraints
perfetto_filegroup(
name = "src_trace_processor_sqlite_query_constraints",
srcs = [
"src/trace_processor/sqlite/query_constraints.cc",
"src/trace_processor/sqlite/query_constraints.h",
],
)
# GN target: //src/trace_processor/sqlite:sqlite
perfetto_filegroup(
name = "src_trace_processor_sqlite_sqlite",
srcs = [
"src/trace_processor/sqlite/db_sqlite_table.cc",
"src/trace_processor/sqlite/db_sqlite_table.h",
"src/trace_processor/sqlite/query_cache.h",
"src/trace_processor/sqlite/scoped_db.h",
"src/trace_processor/sqlite/sql_source.cc",
"src/trace_processor/sqlite/sql_source.h",
"src/trace_processor/sqlite/sql_stats_table.cc",
"src/trace_processor/sqlite/sql_stats_table.h",
"src/trace_processor/sqlite/sqlite_engine.cc",
"src/trace_processor/sqlite/sqlite_engine.h",
"src/trace_processor/sqlite/sqlite_table.cc",
"src/trace_processor/sqlite/sqlite_table.h",
"src/trace_processor/sqlite/sqlite_tokenizer.cc",
"src/trace_processor/sqlite/sqlite_tokenizer.h",
"src/trace_processor/sqlite/sqlite_utils.cc",
"src/trace_processor/sqlite/sqlite_utils.h",
"src/trace_processor/sqlite/stats_table.cc",
"src/trace_processor/sqlite/stats_table.h",
],
)
# GN target: //src/trace_processor/storage:storage
perfetto_filegroup(
name = "src_trace_processor_storage_storage",
srcs = [
"src/trace_processor/storage/metadata.h",
"src/trace_processor/storage/stats.h",
"src/trace_processor/storage/trace_storage.cc",
"src/trace_processor/storage/trace_storage.h",
],
)
# GN target: //src/trace_processor/tables:tables
perfetto_filegroup(
name = "src_trace_processor_tables_tables",
srcs = [
"src/trace_processor/tables/macros_internal.h",
"src/trace_processor/tables/table_destructors.cc",
],
)
# GN target: //src/trace_processor/tables:tables_python
perfetto_cc_tp_tables(
name = "src_trace_processor_tables_tables_python",
srcs = [
"src/trace_processor/tables/android_tables.py",
"src/trace_processor/tables/counter_tables.py",
"src/trace_processor/tables/flow_tables.py",
"src/trace_processor/tables/memory_tables.py",
"src/trace_processor/tables/metadata_tables.py",
"src/trace_processor/tables/profiler_tables.py",
"src/trace_processor/tables/sched_tables.py",
"src/trace_processor/tables/slice_tables.py",
"src/trace_processor/tables/trace_proto_tables.py",
"src/trace_processor/tables/track_tables.py",
"src/trace_processor/tables/v8_tables.py",
"src/trace_processor/tables/winscope_tables.py",
],
outs = [
"src/trace_processor/tables/android_tables_py.h",
"src/trace_processor/tables/counter_tables_py.h",
"src/trace_processor/tables/flow_tables_py.h",
"src/trace_processor/tables/memory_tables_py.h",
"src/trace_processor/tables/metadata_tables_py.h",
"src/trace_processor/tables/profiler_tables_py.h",
"src/trace_processor/tables/sched_tables_py.h",
"src/trace_processor/tables/slice_tables_py.h",
"src/trace_processor/tables/trace_proto_tables_py.h",
"src/trace_processor/tables/track_tables_py.h",
"src/trace_processor/tables/v8_tables_py.h",
"src/trace_processor/tables/winscope_tables_py.h",
],
)
# GN target: //src/trace_processor/types:types
perfetto_filegroup(
name = "src_trace_processor_types_types",
srcs = [
"src/trace_processor/types/destructible.cc",
"src/trace_processor/types/destructible.h",
"src/trace_processor/types/gfp_flags.cc",
"src/trace_processor/types/gfp_flags.h",
"src/trace_processor/types/softirq_action.h",
"src/trace_processor/types/task_state.cc",
"src/trace_processor/types/task_state.h",
"src/trace_processor/types/tcp_state.h",
"src/trace_processor/types/trace_processor_context.h",
"src/trace_processor/types/variadic.h",
"src/trace_processor/types/version_number.h",
],
)
# GN target: //src/trace_processor/util:bump_allocator
perfetto_filegroup(
name = "src_trace_processor_util_bump_allocator",
srcs = [
"src/trace_processor/util/bump_allocator.cc",
"src/trace_processor/util/bump_allocator.h",
],
)
# GN target: //src/trace_processor/util:descriptors
perfetto_filegroup(
name = "src_trace_processor_util_descriptors",
srcs = [
"src/trace_processor/util/descriptors.cc",
"src/trace_processor/util/descriptors.h",
],
)
# GN target: //src/trace_processor/util:glob
perfetto_filegroup(
name = "src_trace_processor_util_glob",
srcs = [
"src/trace_processor/util/glob.cc",
"src/trace_processor/util/glob.h",
],
)
# GN target: //src/trace_processor/util:gzip
perfetto_filegroup(
name = "src_trace_processor_util_gzip",
srcs = [
"src/trace_processor/util/gzip_utils.cc",
"src/trace_processor/util/gzip_utils.h",
],
)
# GN target: //src/trace_processor/util:interned_message_view
perfetto_filegroup(
name = "src_trace_processor_util_interned_message_view",
srcs = [
"src/trace_processor/util/interned_message_view.h",
],
)
# GN target: //src/trace_processor/util:profile_builder
perfetto_filegroup(
name = "src_trace_processor_util_profile_builder",
srcs = [
"src/trace_processor/util/annotated_callsites.cc",
"src/trace_processor/util/annotated_callsites.h",
"src/trace_processor/util/profile_builder.cc",
"src/trace_processor/util/profile_builder.h",
],
)
# GN target: //src/trace_processor/util:profiler_util
perfetto_filegroup(
name = "src_trace_processor_util_profiler_util",
srcs = [
"src/trace_processor/util/profiler_util.cc",
"src/trace_processor/util/profiler_util.h",
],
)
# GN target: //src/trace_processor/util:proto_profiler
perfetto_filegroup(
name = "src_trace_processor_util_proto_profiler",
srcs = [
"src/trace_processor/util/proto_profiler.cc",
"src/trace_processor/util/proto_profiler.h",
],
)
# GN target: //src/trace_processor/util:proto_to_args_parser
perfetto_filegroup(
name = "src_trace_processor_util_proto_to_args_parser",
srcs = [
"src/trace_processor/util/debug_annotation_parser.cc",
"src/trace_processor/util/debug_annotation_parser.h",
"src/trace_processor/util/proto_to_args_parser.cc",
"src/trace_processor/util/proto_to_args_parser.h",
],
)
# GN target: //src/trace_processor/util:protozero_to_json
perfetto_filegroup(
name = "src_trace_processor_util_protozero_to_json",
srcs = [
"src/trace_processor/util/protozero_to_json.cc",
"src/trace_processor/util/protozero_to_json.h",
],
)
# GN target: //src/trace_processor/util:protozero_to_text
perfetto_filegroup(
name = "src_trace_processor_util_protozero_to_text",
srcs = [
"src/trace_processor/util/protozero_to_text.cc",
"src/trace_processor/util/protozero_to_text.h",
],
)
# GN target: //src/trace_processor/util:regex
perfetto_filegroup(
name = "src_trace_processor_util_regex",
srcs = [
"src/trace_processor/util/regex.h",
],
)
# GN target: //src/trace_processor/util:sql_argument
perfetto_filegroup(
name = "src_trace_processor_util_sql_argument",
srcs = [
"src/trace_processor/util/sql_argument.cc",
"src/trace_processor/util/sql_argument.h",
],
)
# GN target: //src/trace_processor/util:stack_traces_util
perfetto_filegroup(
name = "src_trace_processor_util_stack_traces_util",
srcs = [
"src/trace_processor/util/stack_traces_util.cc",
"src/trace_processor/util/stack_traces_util.h",
],
)
# GN target: //src/trace_processor/util:stdlib
perfetto_filegroup(
name = "src_trace_processor_util_stdlib",
srcs = [
"src/trace_processor/util/sql_modules.h",
],
)
# GN target: //src/trace_processor/util:util
perfetto_filegroup(
name = "src_trace_processor_util_util",
srcs = [
"src/trace_processor/util/status_macros.h",
],
)
# GN target: //src/trace_processor/util:zip_reader
perfetto_filegroup(
name = "src_trace_processor_util_zip_reader",
srcs = [
"src/trace_processor/util/streaming_line_reader.cc",
"src/trace_processor/util/streaming_line_reader.h",
"src/trace_processor/util/zip_reader.cc",
"src/trace_processor/util/zip_reader.h",
],
)
# GN target: //src/trace_processor:demangle
perfetto_cc_library(
name = "src_trace_processor_demangle",
srcs = [
"src/trace_processor/demangle.cc",
],
hdrs = [
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":include_perfetto_ext_trace_processor_demangle",
":include_perfetto_public_abi_base",
":include_perfetto_public_base",
],
deps = [
] + PERFETTO_CONFIG.deps.llvm_demangle,
linkstatic = True,
)
# GN target: //src/trace_processor:export_json
perfetto_filegroup(
name = "src_trace_processor_export_json",
srcs = [
"src/trace_processor/export_json.cc",
"src/trace_processor/export_json.h",
],
)
# GN target: //src/trace_processor:lib
perfetto_filegroup(
name = "src_trace_processor_lib",
srcs = [
"src/trace_processor/iterator_impl.cc",
"src/trace_processor/iterator_impl.h",
"src/trace_processor/read_trace.cc",
"src/trace_processor/read_trace_internal.cc",
"src/trace_processor/read_trace_internal.h",
"src/trace_processor/trace_processor.cc",
"src/trace_processor/trace_processor_impl.cc",
"src/trace_processor/trace_processor_impl.h",
],
)
# GN target: //src/trace_processor:metatrace
perfetto_filegroup(
name = "src_trace_processor_metatrace",
srcs = [
"src/trace_processor/tp_metatrace.cc",
"src/trace_processor/tp_metatrace.h",
],
)
# GN target: //src/trace_processor:storage_minimal
perfetto_filegroup(
name = "src_trace_processor_storage_minimal",
srcs = [
"src/trace_processor/forwarding_trace_parser.cc",
"src/trace_processor/forwarding_trace_parser.h",
"src/trace_processor/trace_blob.cc",
"src/trace_processor/trace_processor_context.cc",
"src/trace_processor/trace_processor_storage.cc",
"src/trace_processor/trace_processor_storage_impl.cc",
"src/trace_processor/trace_processor_storage_impl.h",
"src/trace_processor/virtual_destructors.cc",
],
)
# GN target: //src/traceconv:gen_cc_trace_descriptor
perfetto_cc_proto_descriptor(
name = "src_traceconv_gen_cc_trace_descriptor",
deps = [
":protos_perfetto_trace_descriptor",
],
outs = [
"src/traceconv/trace.descriptor.h",
],
)
# GN target: //src/traceconv:lib
perfetto_filegroup(
name = "src_traceconv_lib",
srcs = [
"src/traceconv/deobfuscate_profile.cc",
"src/traceconv/deobfuscate_profile.h",
"src/traceconv/symbolize_profile.cc",
"src/traceconv/symbolize_profile.h",
"src/traceconv/trace_to_hprof.cc",
"src/traceconv/trace_to_hprof.h",
"src/traceconv/trace_to_json.cc",
"src/traceconv/trace_to_json.h",
"src/traceconv/trace_to_profile.cc",
"src/traceconv/trace_to_profile.h",
"src/traceconv/trace_to_systrace.cc",
"src/traceconv/trace_to_systrace.h",
"src/traceconv/trace_to_text.cc",
"src/traceconv/trace_to_text.h",
"src/traceconv/trace_unpack.cc",
"src/traceconv/trace_unpack.h",
],
)
# GN target: //src/traceconv:main
perfetto_filegroup(
name = "src_traceconv_main",
srcs = [
"src/traceconv/main.cc",
],
)
# GN target: //src/traceconv:pprofbuilder
perfetto_filegroup(
name = "src_traceconv_pprofbuilder",
srcs = [
"src/traceconv/pprof_builder.cc",
],
)
# GN target: //src/traceconv:utils
perfetto_filegroup(
name = "src_traceconv_utils",
srcs = [
"src/traceconv/utils.cc",
"src/traceconv/utils.h",
],
)
# GN target: //src/traced/probes/android_game_intervention_list:android_game_intervention_list
perfetto_filegroup(
name = "src_traced_probes_android_game_intervention_list_android_game_intervention_list",
srcs = [
"src/traced/probes/android_game_intervention_list/android_game_intervention_list_data_source.cc",
"src/traced/probes/android_game_intervention_list/android_game_intervention_list_data_source.h",
],
)
# GN target: //src/traced/probes/android_log:android_log
perfetto_filegroup(
name = "src_traced_probes_android_log_android_log",
srcs = [
"src/traced/probes/android_log/android_log_data_source.cc",
"src/traced/probes/android_log/android_log_data_source.h",
],
)
# GN target: //src/traced/probes/android_system_property:android_system_property
perfetto_filegroup(
name = "src_traced_probes_android_system_property_android_system_property",
srcs = [
"src/traced/probes/android_system_property/android_system_property_data_source.cc",
"src/traced/probes/android_system_property/android_system_property_data_source.h",
],
)
# GN target: //src/traced/probes/common:common
perfetto_filegroup(
name = "src_traced_probes_common_common",
srcs = [
"src/traced/probes/common/cpu_freq_info.cc",
"src/traced/probes/common/cpu_freq_info.h",
],
)
# GN target: //src/traced/probes/filesystem:filesystem
perfetto_filegroup(
name = "src_traced_probes_filesystem_filesystem",
srcs = [
"src/traced/probes/filesystem/file_scanner.cc",
"src/traced/probes/filesystem/file_scanner.h",
"src/traced/probes/filesystem/fs_mount.cc",
"src/traced/probes/filesystem/fs_mount.h",
"src/traced/probes/filesystem/inode_file_data_source.cc",
"src/traced/probes/filesystem/inode_file_data_source.h",
"src/traced/probes/filesystem/lru_inode_cache.cc",
"src/traced/probes/filesystem/lru_inode_cache.h",
"src/traced/probes/filesystem/prefix_finder.cc",
"src/traced/probes/filesystem/prefix_finder.h",
"src/traced/probes/filesystem/range_tree.cc",
"src/traced/probes/filesystem/range_tree.h",
],
)
# GN target: //src/traced/probes/ftrace/format_parser:format_parser
perfetto_filegroup(
name = "src_traced_probes_ftrace_format_parser_format_parser",
srcs = [
"src/traced/probes/ftrace/format_parser/format_parser.cc",
"src/traced/probes/ftrace/format_parser/format_parser.h",
],
)
# GN target: //src/traced/probes/ftrace:ftrace
perfetto_filegroup(
name = "src_traced_probes_ftrace_ftrace",
srcs = [
"src/traced/probes/ftrace/atrace_hal_wrapper.cc",
"src/traced/probes/ftrace/atrace_hal_wrapper.h",
"src/traced/probes/ftrace/atrace_wrapper.cc",
"src/traced/probes/ftrace/atrace_wrapper.h",
"src/traced/probes/ftrace/compact_sched.cc",
"src/traced/probes/ftrace/compact_sched.h",
"src/traced/probes/ftrace/cpu_reader.cc",
"src/traced/probes/ftrace/cpu_reader.h",
"src/traced/probes/ftrace/cpu_stats_parser.cc",
"src/traced/probes/ftrace/cpu_stats_parser.h",
"src/traced/probes/ftrace/event_info.cc",
"src/traced/probes/ftrace/event_info.h",
"src/traced/probes/ftrace/event_info_constants.cc",
"src/traced/probes/ftrace/event_info_constants.h",
"src/traced/probes/ftrace/ftrace_config_muxer.cc",
"src/traced/probes/ftrace/ftrace_config_muxer.h",
"src/traced/probes/ftrace/ftrace_config_utils.cc",
"src/traced/probes/ftrace/ftrace_config_utils.h",
"src/traced/probes/ftrace/ftrace_controller.cc",
"src/traced/probes/ftrace/ftrace_controller.h",
"src/traced/probes/ftrace/ftrace_data_source.cc",
"src/traced/probes/ftrace/ftrace_data_source.h",
"src/traced/probes/ftrace/ftrace_metadata.h",
"src/traced/probes/ftrace/ftrace_print_filter.cc",
"src/traced/probes/ftrace/ftrace_print_filter.h",
"src/traced/probes/ftrace/ftrace_stats.cc",
"src/traced/probes/ftrace/ftrace_stats.h",
"src/traced/probes/ftrace/printk_formats_parser.cc",
"src/traced/probes/ftrace/printk_formats_parser.h",
"src/traced/probes/ftrace/proto_translation_table.cc",
"src/traced/probes/ftrace/proto_translation_table.h",
"src/traced/probes/ftrace/vendor_tracepoints.cc",
"src/traced/probes/ftrace/vendor_tracepoints.h",
],
)
# GN target: //src/traced/probes/ftrace:ftrace_procfs
perfetto_filegroup(
name = "src_traced_probes_ftrace_ftrace_procfs",
srcs = [
"src/traced/probes/ftrace/ftrace_procfs.cc",
"src/traced/probes/ftrace/ftrace_procfs.h",
],
)
# GN target: //src/traced/probes/initial_display_state:initial_display_state
perfetto_filegroup(
name = "src_traced_probes_initial_display_state_initial_display_state",
srcs = [
"src/traced/probes/initial_display_state/initial_display_state_data_source.cc",
"src/traced/probes/initial_display_state/initial_display_state_data_source.h",
],
)
# GN target: //src/traced/probes/metatrace:metatrace
perfetto_filegroup(
name = "src_traced_probes_metatrace_metatrace",
srcs = [
"src/traced/probes/metatrace/metatrace_data_source.cc",
"src/traced/probes/metatrace/metatrace_data_source.h",
],
)
# GN target: //src/traced/probes/packages_list:packages_list
perfetto_filegroup(
name = "src_traced_probes_packages_list_packages_list",
srcs = [
"src/traced/probes/packages_list/packages_list_data_source.cc",
"src/traced/probes/packages_list/packages_list_data_source.h",
],
)
# GN target: //src/traced/probes/packages_list:packages_list_parser
perfetto_filegroup(
name = "src_traced_probes_packages_list_packages_list_parser",
srcs = [
"src/traced/probes/packages_list/packages_list_parser.cc",
"src/traced/probes/packages_list/packages_list_parser.h",
],
)
# GN target: //src/traced/probes/power:power
perfetto_filegroup(
name = "src_traced_probes_power_power",
srcs = [
"src/traced/probes/power/android_power_data_source.cc",
"src/traced/probes/power/android_power_data_source.h",
"src/traced/probes/power/linux_power_sysfs_data_source.cc",
"src/traced/probes/power/linux_power_sysfs_data_source.h",
],
)
# GN target: //src/traced/probes/ps:ps
perfetto_filegroup(
name = "src_traced_probes_ps_ps",
srcs = [
"src/traced/probes/ps/process_stats_data_source.cc",
"src/traced/probes/ps/process_stats_data_source.h",
],
)
# GN target: //src/traced/probes/statsd_client:statsd_client
perfetto_filegroup(
name = "src_traced_probes_statsd_client_statsd_client",
srcs = [
"src/traced/probes/statsd_client/common.cc",
"src/traced/probes/statsd_client/common.h",
"src/traced/probes/statsd_client/statsd_binder_data_source.cc",
"src/traced/probes/statsd_client/statsd_binder_data_source.h",
],
)
# GN target: //src/traced/probes/sys_stats:sys_stats
perfetto_filegroup(
name = "src_traced_probes_sys_stats_sys_stats",
srcs = [
"src/traced/probes/sys_stats/sys_stats_data_source.cc",
"src/traced/probes/sys_stats/sys_stats_data_source.h",
],
)
# GN target: //src/traced/probes/system_info:system_info
perfetto_filegroup(
name = "src_traced_probes_system_info_system_info",
srcs = [
"src/traced/probes/system_info/system_info_data_source.cc",
"src/traced/probes/system_info/system_info_data_source.h",
],
)
# GN target: //src/traced/probes:data_source
perfetto_filegroup(
name = "src_traced_probes_data_source",
srcs = [
"src/traced/probes/probes_data_source.cc",
"src/traced/probes/probes_data_source.h",
],
)
# GN target: //src/traced/probes:probes
perfetto_filegroup(
name = "src_traced_probes_probes",
srcs = [
"src/traced/probes/probes.cc",
],
)
# GN target: //src/traced/probes:probes_src
perfetto_filegroup(
name = "src_traced_probes_probes_src",
srcs = [
"src/traced/probes/kmem_activity_trigger.cc",
"src/traced/probes/kmem_activity_trigger.h",
"src/traced/probes/probes_producer.cc",
"src/traced/probes/probes_producer.h",
],
)
# GN target: //src/traced/service:service
perfetto_filegroup(
name = "src_traced_service_service",
srcs = [
"src/traced/service/builtin_producer.cc",
"src/traced/service/builtin_producer.h",
"src/traced/service/service.cc",
],
)
# GN target: //src/tracing/core:core
perfetto_filegroup(
name = "src_tracing_core_core",
srcs = [
"src/tracing/core/clock_snapshots.cc",
"src/tracing/core/id_allocator.cc",
"src/tracing/core/id_allocator.h",
"src/tracing/core/in_process_shared_memory.cc",
"src/tracing/core/in_process_shared_memory.h",
"src/tracing/core/null_trace_writer.cc",
"src/tracing/core/null_trace_writer.h",
"src/tracing/core/patch_list.h",
"src/tracing/core/shared_memory_abi.cc",
"src/tracing/core/shared_memory_arbiter_impl.cc",
"src/tracing/core/shared_memory_arbiter_impl.h",
"src/tracing/core/trace_packet.cc",
"src/tracing/core/trace_writer_impl.cc",
"src/tracing/core/trace_writer_impl.h",
"src/tracing/core/virtual_destructors.cc",
],
)
# GN target: //src/tracing/ipc/consumer:consumer
perfetto_filegroup(
name = "src_tracing_ipc_consumer_consumer",
srcs = [
"src/tracing/ipc/consumer/consumer_ipc_client_impl.cc",
"src/tracing/ipc/consumer/consumer_ipc_client_impl.h",
],
)
# GN target: //src/tracing/ipc/producer:producer
perfetto_filegroup(
name = "src_tracing_ipc_producer_producer",
srcs = [
"src/tracing/ipc/producer/producer_ipc_client_impl.cc",
"src/tracing/ipc/producer/producer_ipc_client_impl.h",
],
)
# GN target: //src/tracing/ipc/service:service
perfetto_filegroup(
name = "src_tracing_ipc_service_service",
srcs = [
"src/tracing/ipc/service/consumer_ipc_service.cc",
"src/tracing/ipc/service/consumer_ipc_service.h",
"src/tracing/ipc/service/producer_ipc_service.cc",
"src/tracing/ipc/service/producer_ipc_service.h",
"src/tracing/ipc/service/relay_ipc_service.cc",
"src/tracing/ipc/service/relay_ipc_service.h",
"src/tracing/ipc/service/service_ipc_host_impl.cc",
"src/tracing/ipc/service/service_ipc_host_impl.h",
],
)
# GN target: //src/tracing/ipc:common
perfetto_filegroup(
name = "src_tracing_ipc_common",
srcs = [
"src/tracing/ipc/memfd.cc",
"src/tracing/ipc/memfd.h",
"src/tracing/ipc/posix_shared_memory.cc",
"src/tracing/ipc/posix_shared_memory.h",
"src/tracing/ipc/shared_memory_windows.cc",
"src/tracing/ipc/shared_memory_windows.h",
],
)
# GN target: //src/tracing/ipc:default_socket
perfetto_filegroup(
name = "src_tracing_ipc_default_socket",
srcs = [
"src/tracing/ipc/default_socket.cc",
],
)
# GN target: //src/tracing/service:service
perfetto_filegroup(
name = "src_tracing_service_service",
srcs = [
"src/tracing/service/histogram.h",
"src/tracing/service/metatrace_writer.cc",
"src/tracing/service/metatrace_writer.h",
"src/tracing/service/packet_stream_validator.cc",
"src/tracing/service/packet_stream_validator.h",
"src/tracing/service/trace_buffer.cc",
"src/tracing/service/trace_buffer.h",
"src/tracing/service/tracing_service_impl.cc",
"src/tracing/service/tracing_service_impl.h",
],
)
# GN target: //src/tracing/service:zlib_compressor
perfetto_filegroup(
name = "src_tracing_service_zlib_compressor",
srcs = [
"src/tracing/service/zlib_compressor.cc",
"src/tracing/service/zlib_compressor.h",
],
)
# GN target: //src/tracing:client_api_without_backends
perfetto_filegroup(
name = "src_tracing_client_api_without_backends",
srcs = [
"src/tracing/console_interceptor.cc",
"src/tracing/data_source.cc",
"src/tracing/debug_annotation.cc",
"src/tracing/event_context.cc",
"src/tracing/interceptor.cc",
"src/tracing/internal/checked_scope.cc",
"src/tracing/internal/interceptor_trace_writer.cc",
"src/tracing/internal/tracing_backend_fake.cc",
"src/tracing/internal/tracing_muxer_fake.cc",
"src/tracing/internal/tracing_muxer_fake.h",
"src/tracing/internal/tracing_muxer_impl.cc",
"src/tracing/internal/tracing_muxer_impl.h",
"src/tracing/internal/track_event_internal.cc",
"src/tracing/internal/track_event_interned_fields.cc",
"src/tracing/platform.cc",
"src/tracing/traced_value.cc",
"src/tracing/tracing.cc",
"src/tracing/tracing_policy.cc",
"src/tracing/track.cc",
"src/tracing/track_event_category_registry.cc",
"src/tracing/track_event_legacy.cc",
"src/tracing/track_event_state_tracker.cc",
"src/tracing/virtual_destructors.cc",
],
)
# GN target: //src/tracing:common
perfetto_filegroup(
name = "src_tracing_common",
srcs = [
"src/tracing/trace_writer_base.cc",
],
)
# GN target: //src/tracing:in_process_backend
perfetto_filegroup(
name = "src_tracing_in_process_backend",
srcs = [
"src/tracing/internal/in_process_tracing_backend.cc",
],
)
# GN target: //src/tracing:platform_impl
perfetto_filegroup(
name = "src_tracing_platform_impl",
srcs = [
"src/tracing/platform_posix.cc",
"src/tracing/platform_windows.cc",
],
)
# GN target: //src/tracing:system_backend
perfetto_filegroup(
name = "src_tracing_system_backend",
srcs = [
"src/tracing/internal/system_tracing_backend.cc",
],
)
# ##############################################################################
# Proto libraries
# ##############################################################################
# GN target: [//protos/perfetto/config:source_set]
perfetto_proto_library(
name = "config_proto",
visibility = [
"//visibility:public",
],
deps = [
":protos_perfetto_common_protos",
":protos_perfetto_config_android_protos",
":protos_perfetto_config_ftrace_protos",
":protos_perfetto_config_gpu_protos",
":protos_perfetto_config_inode_file_protos",
":protos_perfetto_config_interceptors_protos",
":protos_perfetto_config_power_protos",
":protos_perfetto_config_process_stats_protos",
":protos_perfetto_config_profiling_protos",
":protos_perfetto_config_protos",
":protos_perfetto_config_statsd_protos",
":protos_perfetto_config_sys_stats_protos",
":protos_perfetto_config_system_info_protos",
":protos_perfetto_config_track_event_protos",
],
)
# GN target: [//protos/perfetto/config:source_set]
perfetto_cc_proto_library(
name = "config_cc_proto",
visibility = [
"//visibility:public",
],
deps = [
":config_proto",
],
)
# GN target: [//protos/perfetto/config:source_set]
perfetto_java_proto_library(
name = "config_java_proto",
visibility = [
"//visibility:public",
],
deps = [
":config_proto",
],
)
# GN target: [//protos/perfetto/config:source_set]
perfetto_java_lite_proto_library(
name = "config_java_proto_lite",
visibility = [
"//visibility:public",
],
deps = [
":config_proto",
],
)
# GN target: [//protos/perfetto/config:source_set]
perfetto_py_proto_library(
name = "config_py_pb2",
visibility = [
"//visibility:public",
],
deps = [
":config_proto",
],
)
# GN target: [//protos/perfetto/trace:non_minimal_source_set, //protos/perfetto/trace:minimal_source_set]
perfetto_proto_library(
name = "trace_proto",
visibility = PERFETTO_CONFIG.public_visibility,
deps = [
":protos_perfetto_common_protos",
":protos_perfetto_config_android_protos",
":protos_perfetto_config_ftrace_protos",
":protos_perfetto_config_gpu_protos",
":protos_perfetto_config_inode_file_protos",
":protos_perfetto_config_interceptors_protos",
":protos_perfetto_config_power_protos",
":protos_perfetto_config_process_stats_protos",
":protos_perfetto_config_profiling_protos",
":protos_perfetto_config_protos",
":protos_perfetto_config_statsd_protos",
":protos_perfetto_config_sys_stats_protos",
":protos_perfetto_config_system_info_protos",
":protos_perfetto_config_track_event_protos",
":protos_perfetto_trace_android_protos",
":protos_perfetto_trace_chrome_protos",
":protos_perfetto_trace_etw_protos",
":protos_perfetto_trace_filesystem_protos",
":protos_perfetto_trace_ftrace_protos",
":protos_perfetto_trace_gpu_protos",
":protos_perfetto_trace_interned_data_protos",
":protos_perfetto_trace_minimal_protos",
":protos_perfetto_trace_non_minimal_protos",
":protos_perfetto_trace_perfetto_protos",
":protos_perfetto_trace_power_protos",
":protos_perfetto_trace_profiling_protos",
":protos_perfetto_trace_ps_protos",
":protos_perfetto_trace_statsd_protos",
":protos_perfetto_trace_sys_sta