Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 1 | # Copyright (C) 2019 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | # |
Sami Kyostila | 3c88a1d | 2019-05-22 18:29:42 +0100 | [diff] [blame] | 15 | # This file is automatically generated by tools/gen_bazel. Do not edit. |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 16 | |
| 17 | package(default_visibility = ["//visibility:public"]) |
| 18 | |
| 19 | licenses(["notice"]) # Apache 2.0 |
| 20 | |
| 21 | exports_files(["LICENSE"]) |
| 22 | |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 23 | # GN target: //src/trace_processor/metrics:gen_merged_sql_metrics |
| 24 | genrule( |
| 25 | name = "gen_merged_sql_metrics", |
| 26 | srcs = [ |
Silvia Vinyes | b39c77f | 2019-06-04 10:46:12 +0100 | [diff] [blame] | 27 | "src/trace_processor/metrics/android/android_batt.sql", |
Silvia Vinyes | 2e6a731 | 2019-06-04 11:15:59 +0100 | [diff] [blame] | 28 | "src/trace_processor/metrics/android/android_cpu.sql", |
| 29 | "src/trace_processor/metrics/android/android_cpu_agg.sql", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 30 | "src/trace_processor/metrics/android/android_lmk.sql", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 31 | "src/trace_processor/metrics/android/android_mem.sql", |
Lalit Maganti | 5f3a018 | 2019-05-07 16:40:36 +0100 | [diff] [blame] | 32 | "src/trace_processor/metrics/android/android_mem_proc_counters.sql", |
Ioannis Ilkos | 3e5b915 | 2019-06-17 19:09:58 +0100 | [diff] [blame] | 33 | "src/trace_processor/metrics/android/android_powrails.sql", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 34 | "src/trace_processor/metrics/android/android_startup.sql", |
Ioannis Ilkos | 1cbd228 | 2019-05-29 23:41:57 +0100 | [diff] [blame] | 35 | "src/trace_processor/metrics/android/android_startup_cpu.sql", |
Ioannis Ilkos | 20d5e8b | 2019-05-16 15:43:26 +0100 | [diff] [blame] | 36 | "src/trace_processor/metrics/android/android_startup_launches.sql", |
| 37 | "src/trace_processor/metrics/android/android_task_state.sql", |
Ioannis Ilkos | 05e211f | 2019-05-28 15:21:00 +0100 | [diff] [blame] | 38 | "src/trace_processor/metrics/android/heap_profile.sql", |
Ioannis Ilkos | 5e79b8a | 2019-05-23 18:09:54 +0100 | [diff] [blame] | 39 | "src/trace_processor/metrics/error_statistics.sql", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 40 | ], |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 41 | outs = [ |
| 42 | "src/trace_processor/metrics/sql_metrics.h", |
| 43 | ], |
Lalit Maganti | e667b0f | 2019-05-02 13:49:35 +0100 | [diff] [blame] | 44 | cmd = "$(location gen_merged_sql_metrics_py) --cpp_out=$@ $(SRCS)", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 45 | tools = [ |
| 46 | "gen_merged_sql_metrics_py", |
| 47 | ], |
| 48 | ) |
| 49 | |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 50 | # GN target: //src/protozero:libprotozero |
| 51 | cc_library( |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 52 | name = "libprotozero", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 53 | srcs = [ |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 54 | "src/protozero/message.cc", |
| 55 | "src/protozero/message_handle.cc", |
| 56 | "src/protozero/proto_decoder.cc", |
| 57 | "src/protozero/scattered_heap_buffer.cc", |
| 58 | "src/protozero/scattered_stream_null_delegate.cc", |
| 59 | "src/protozero/scattered_stream_writer.cc", |
| 60 | ], |
| 61 | hdrs = [ |
| 62 | "include/perfetto/base/build_config.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 63 | "include/perfetto/base/compiler.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 64 | "include/perfetto/base/export.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 65 | "include/perfetto/base/logging.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 66 | "include/perfetto/base/task_runner.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 67 | "include/perfetto/ext/base/circular_queue.h", |
| 68 | "include/perfetto/ext/base/container_annotations.h", |
| 69 | "include/perfetto/ext/base/event.h", |
| 70 | "include/perfetto/ext/base/file_utils.h", |
| 71 | "include/perfetto/ext/base/hash.h", |
| 72 | "include/perfetto/ext/base/metatrace.h", |
Lalit Maganti | 0dc9859 | 2019-06-05 14:59:55 +0100 | [diff] [blame] | 73 | "include/perfetto/ext/base/metatrace_events.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 74 | "include/perfetto/ext/base/no_destructor.h", |
| 75 | "include/perfetto/ext/base/optional.h", |
| 76 | "include/perfetto/ext/base/paged_memory.h", |
| 77 | "include/perfetto/ext/base/pipe.h", |
| 78 | "include/perfetto/ext/base/scoped_file.h", |
| 79 | "include/perfetto/ext/base/small_set.h", |
| 80 | "include/perfetto/ext/base/string_splitter.h", |
| 81 | "include/perfetto/ext/base/string_utils.h", |
| 82 | "include/perfetto/ext/base/string_view.h", |
| 83 | "include/perfetto/ext/base/string_writer.h", |
| 84 | "include/perfetto/ext/base/temp_file.h", |
| 85 | "include/perfetto/ext/base/thread_annotations.h", |
| 86 | "include/perfetto/ext/base/thread_checker.h", |
| 87 | "include/perfetto/ext/base/thread_task_runner.h", |
| 88 | "include/perfetto/ext/base/thread_utils.h", |
| 89 | "include/perfetto/ext/base/time.h", |
| 90 | "include/perfetto/ext/base/unix_socket.h", |
| 91 | "include/perfetto/ext/base/unix_task_runner.h", |
| 92 | "include/perfetto/ext/base/utils.h", |
| 93 | "include/perfetto/ext/base/watchdog.h", |
| 94 | "include/perfetto/ext/base/watchdog_noop.h", |
| 95 | "include/perfetto/ext/base/watchdog_posix.h", |
| 96 | "include/perfetto/ext/base/weak_ptr.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 97 | "include/perfetto/protozero/contiguous_memory_range.h", |
| 98 | "include/perfetto/protozero/field.h", |
| 99 | "include/perfetto/protozero/message.h", |
| 100 | "include/perfetto/protozero/message_handle.h", |
| 101 | "include/perfetto/protozero/proto_decoder.h", |
| 102 | "include/perfetto/protozero/proto_utils.h", |
| 103 | "include/perfetto/protozero/scattered_heap_buffer.h", |
| 104 | "include/perfetto/protozero/scattered_stream_null_delegate.h", |
| 105 | "include/perfetto/protozero/scattered_stream_writer.h", |
| 106 | ], |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 107 | ) |
| 108 | |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 109 | # GN target: //src/protozero/protoc_plugin:protoc_plugin |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 110 | cc_binary( |
| 111 | name = "src_protozero_protoc_plugin_protoc_plugin", |
| 112 | srcs = [ |
| 113 | "src/protozero/protoc_plugin/protozero_generator.cc", |
| 114 | "src/protozero/protoc_plugin/protozero_generator.h", |
| 115 | "src/protozero/protoc_plugin/protozero_plugin.cc", |
| 116 | ], |
| 117 | deps = [ |
| 118 | "//third_party/protobuf", |
| 119 | "//third_party/protobuf:libprotoc", |
| 120 | ], |
| 121 | ) |
| 122 | |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame^] | 123 | # GN target: //tools/trace_to_text:libpprofbuilder |
| 124 | cc_library( |
| 125 | name = "tools_trace_to_text_libpprofbuilder", |
| 126 | srcs = [ |
| 127 | "src/protozero/message.cc", |
| 128 | "src/protozero/message_handle.cc", |
| 129 | "src/protozero/proto_decoder.cc", |
| 130 | "src/protozero/scattered_heap_buffer.cc", |
| 131 | "src/protozero/scattered_stream_null_delegate.cc", |
| 132 | "src/protozero/scattered_stream_writer.cc", |
| 133 | "tools/trace_to_text/pprof_builder.cc", |
| 134 | "tools/trace_to_text/pprof_builder.h", |
| 135 | "tools/trace_to_text/utils.cc", |
| 136 | "tools/trace_to_text/utils.h", |
| 137 | ], |
| 138 | hdrs = [ |
| 139 | "include/perfetto/base/build_config.h", |
| 140 | "include/perfetto/base/compiler.h", |
| 141 | "include/perfetto/base/export.h", |
| 142 | "include/perfetto/base/logging.h", |
| 143 | "include/perfetto/base/task_runner.h", |
| 144 | "include/perfetto/ext/base/circular_queue.h", |
| 145 | "include/perfetto/ext/base/container_annotations.h", |
| 146 | "include/perfetto/ext/base/event.h", |
| 147 | "include/perfetto/ext/base/file_utils.h", |
| 148 | "include/perfetto/ext/base/hash.h", |
| 149 | "include/perfetto/ext/base/metatrace.h", |
| 150 | "include/perfetto/ext/base/metatrace_events.h", |
| 151 | "include/perfetto/ext/base/no_destructor.h", |
| 152 | "include/perfetto/ext/base/optional.h", |
| 153 | "include/perfetto/ext/base/paged_memory.h", |
| 154 | "include/perfetto/ext/base/pipe.h", |
| 155 | "include/perfetto/ext/base/scoped_file.h", |
| 156 | "include/perfetto/ext/base/small_set.h", |
| 157 | "include/perfetto/ext/base/string_splitter.h", |
| 158 | "include/perfetto/ext/base/string_utils.h", |
| 159 | "include/perfetto/ext/base/string_view.h", |
| 160 | "include/perfetto/ext/base/string_writer.h", |
| 161 | "include/perfetto/ext/base/temp_file.h", |
| 162 | "include/perfetto/ext/base/thread_annotations.h", |
| 163 | "include/perfetto/ext/base/thread_checker.h", |
| 164 | "include/perfetto/ext/base/thread_task_runner.h", |
| 165 | "include/perfetto/ext/base/thread_utils.h", |
| 166 | "include/perfetto/ext/base/time.h", |
| 167 | "include/perfetto/ext/base/unix_socket.h", |
| 168 | "include/perfetto/ext/base/unix_task_runner.h", |
| 169 | "include/perfetto/ext/base/utils.h", |
| 170 | "include/perfetto/ext/base/watchdog.h", |
| 171 | "include/perfetto/ext/base/watchdog_noop.h", |
| 172 | "include/perfetto/ext/base/watchdog_posix.h", |
| 173 | "include/perfetto/ext/base/weak_ptr.h", |
| 174 | "include/perfetto/ext/traced/sys_stats_counters.h", |
| 175 | "include/perfetto/protozero/contiguous_memory_range.h", |
| 176 | "include/perfetto/protozero/field.h", |
| 177 | "include/perfetto/protozero/message.h", |
| 178 | "include/perfetto/protozero/message_handle.h", |
| 179 | "include/perfetto/protozero/proto_decoder.h", |
| 180 | "include/perfetto/protozero/proto_utils.h", |
| 181 | "include/perfetto/protozero/scattered_heap_buffer.h", |
| 182 | "include/perfetto/protozero/scattered_stream_null_delegate.h", |
| 183 | "include/perfetto/protozero/scattered_stream_writer.h", |
| 184 | ], |
| 185 | deps = [ |
| 186 | "//third_party/perfetto/protos:common_cc_proto", |
| 187 | "//third_party/perfetto/protos:common_zero_cc_proto", |
| 188 | "//third_party/perfetto/protos:config_cc_proto", |
| 189 | "//third_party/perfetto/protos:protos_third_party_pprof_cc_proto", |
| 190 | "//third_party/perfetto/protos:trace_android_cc_proto", |
| 191 | "//third_party/perfetto/protos:trace_cc_proto", |
| 192 | "//third_party/perfetto/protos:trace_chrome_cc_proto", |
| 193 | "//third_party/perfetto/protos:trace_filesystem_cc_proto", |
| 194 | "//third_party/perfetto/protos:trace_ftrace_cc_proto", |
| 195 | "//third_party/perfetto/protos:trace_gpu_cc_proto", |
| 196 | "//third_party/perfetto/protos:trace_interned_data_cc_proto", |
| 197 | "//third_party/perfetto/protos:trace_minimal_cc_proto", |
| 198 | "//third_party/perfetto/protos:trace_perfetto_cc_proto", |
| 199 | "//third_party/perfetto/protos:trace_power_cc_proto", |
| 200 | "//third_party/perfetto/protos:trace_profiling_cc_proto", |
| 201 | "//third_party/perfetto/protos:trace_ps_cc_proto", |
| 202 | "//third_party/perfetto/protos:trace_sys_stats_cc_proto", |
| 203 | "//third_party/perfetto/protos:trace_track_event_cc_proto", |
| 204 | ], |
| 205 | ) |
| 206 | |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 207 | # GN target: //src/trace_processor:trace_processor |
| 208 | cc_library( |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 209 | name = "trace_processor", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 210 | srcs = [ |
| 211 | "src/base/event.cc", |
| 212 | "src/base/file_utils.cc", |
| 213 | "src/base/metatrace.cc", |
| 214 | "src/base/paged_memory.cc", |
| 215 | "src/base/pipe.cc", |
| 216 | "src/base/string_splitter.cc", |
| 217 | "src/base/string_utils.cc", |
| 218 | "src/base/string_view.cc", |
| 219 | "src/base/temp_file.cc", |
| 220 | "src/base/thread_checker.cc", |
| 221 | "src/base/thread_task_runner.cc", |
| 222 | "src/base/time.cc", |
| 223 | "src/base/unix_task_runner.cc", |
| 224 | "src/base/virtual_destructors.cc", |
| 225 | "src/base/watchdog_posix.cc", |
| 226 | "src/protozero/message.cc", |
| 227 | "src/protozero/message_handle.cc", |
| 228 | "src/protozero/proto_decoder.cc", |
| 229 | "src/protozero/scattered_heap_buffer.cc", |
| 230 | "src/protozero/scattered_stream_null_delegate.cc", |
| 231 | "src/protozero/scattered_stream_writer.cc", |
| 232 | "src/trace_processor/android_logs_table.cc", |
| 233 | "src/trace_processor/android_logs_table.h", |
| 234 | "src/trace_processor/args_table.cc", |
| 235 | "src/trace_processor/args_table.h", |
| 236 | "src/trace_processor/args_tracker.cc", |
| 237 | "src/trace_processor/args_tracker.h", |
| 238 | "src/trace_processor/chunked_trace_reader.h", |
| 239 | "src/trace_processor/clock_tracker.cc", |
| 240 | "src/trace_processor/clock_tracker.h", |
| 241 | "src/trace_processor/counter_definitions_table.cc", |
| 242 | "src/trace_processor/counter_definitions_table.h", |
| 243 | "src/trace_processor/counter_values_table.cc", |
| 244 | "src/trace_processor/counter_values_table.h", |
| 245 | "src/trace_processor/event_tracker.cc", |
| 246 | "src/trace_processor/event_tracker.h", |
Mikhail Khokhlov | a8d310d | 2019-05-07 17:34:21 +0100 | [diff] [blame] | 247 | "src/trace_processor/export_json.cc", |
| 248 | "src/trace_processor/export_json.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 249 | "src/trace_processor/filtered_row_index.cc", |
| 250 | "src/trace_processor/filtered_row_index.h", |
| 251 | "src/trace_processor/ftrace_descriptors.cc", |
| 252 | "src/trace_processor/ftrace_descriptors.h", |
| 253 | "src/trace_processor/ftrace_utils.cc", |
| 254 | "src/trace_processor/ftrace_utils.h", |
Brian Hamrick | d57e133 | 2019-04-24 11:25:36 -0700 | [diff] [blame] | 255 | "src/trace_processor/fuchsia_provider_view.cc", |
| 256 | "src/trace_processor/fuchsia_provider_view.h", |
| 257 | "src/trace_processor/fuchsia_trace_parser.cc", |
| 258 | "src/trace_processor/fuchsia_trace_parser.h", |
| 259 | "src/trace_processor/fuchsia_trace_tokenizer.cc", |
| 260 | "src/trace_processor/fuchsia_trace_tokenizer.h", |
| 261 | "src/trace_processor/fuchsia_trace_utils.cc", |
| 262 | "src/trace_processor/fuchsia_trace_utils.h", |
Hector Dearman | 22f1de5 | 2019-06-04 18:11:45 +0100 | [diff] [blame] | 263 | "src/trace_processor/gzip_trace_parser.cc", |
| 264 | "src/trace_processor/gzip_trace_parser.h", |
Lalit Maganti | 9b2d52b | 2019-05-07 14:32:15 +0100 | [diff] [blame] | 265 | "src/trace_processor/heap_profile_allocation_table.cc", |
| 266 | "src/trace_processor/heap_profile_allocation_table.h", |
| 267 | "src/trace_processor/heap_profile_callsite_table.cc", |
| 268 | "src/trace_processor/heap_profile_callsite_table.h", |
| 269 | "src/trace_processor/heap_profile_frame_table.cc", |
| 270 | "src/trace_processor/heap_profile_frame_table.h", |
| 271 | "src/trace_processor/heap_profile_mapping_table.cc", |
| 272 | "src/trace_processor/heap_profile_mapping_table.h", |
Florian Mayer | 438b5ab | 2019-05-02 11:18:06 +0100 | [diff] [blame] | 273 | "src/trace_processor/heap_profile_tracker.cc", |
| 274 | "src/trace_processor/heap_profile_tracker.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 275 | "src/trace_processor/instants_table.cc", |
| 276 | "src/trace_processor/instants_table.h", |
| 277 | "src/trace_processor/json_trace_parser.cc", |
| 278 | "src/trace_processor/json_trace_parser.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 279 | "src/trace_processor/json_trace_tokenizer.cc", |
| 280 | "src/trace_processor/json_trace_tokenizer.h", |
| 281 | "src/trace_processor/json_trace_utils.cc", |
| 282 | "src/trace_processor/json_trace_utils.h", |
Mikhail Khokhlov | e466c00 | 2019-05-23 13:33:33 +0100 | [diff] [blame] | 283 | "src/trace_processor/metadata.h", |
| 284 | "src/trace_processor/metadata_table.cc", |
| 285 | "src/trace_processor/metadata_table.h", |
Lalit Maganti | 6221107 | 2019-05-10 14:09:58 +0100 | [diff] [blame] | 286 | "src/trace_processor/metrics/descriptors.cc", |
| 287 | "src/trace_processor/metrics/descriptors.h", |
Lalit Maganti | 622676a | 2019-04-30 14:15:37 +0100 | [diff] [blame] | 288 | "src/trace_processor/metrics/metrics.cc", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 289 | "src/trace_processor/metrics/metrics.descriptor.h", |
Lalit Maganti | 622676a | 2019-04-30 14:15:37 +0100 | [diff] [blame] | 290 | "src/trace_processor/metrics/metrics.h", |
Lalit Maganti | 697cc48 | 2019-05-01 14:39:11 +0100 | [diff] [blame] | 291 | "src/trace_processor/metrics/sql_metrics.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 292 | "src/trace_processor/null_term_string_view.h", |
| 293 | "src/trace_processor/process_table.cc", |
| 294 | "src/trace_processor/process_table.h", |
| 295 | "src/trace_processor/process_tracker.cc", |
| 296 | "src/trace_processor/process_tracker.h", |
Lalit Maganti | c50e142 | 2019-04-29 14:23:25 +0100 | [diff] [blame] | 297 | "src/trace_processor/proto_incremental_state.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 298 | "src/trace_processor/proto_trace_parser.cc", |
| 299 | "src/trace_processor/proto_trace_parser.h", |
| 300 | "src/trace_processor/proto_trace_tokenizer.cc", |
| 301 | "src/trace_processor/proto_trace_tokenizer.h", |
| 302 | "src/trace_processor/query_constraints.cc", |
| 303 | "src/trace_processor/query_constraints.h", |
| 304 | "src/trace_processor/raw_table.cc", |
| 305 | "src/trace_processor/raw_table.h", |
| 306 | "src/trace_processor/row_iterators.cc", |
| 307 | "src/trace_processor/row_iterators.h", |
| 308 | "src/trace_processor/sched_slice_table.cc", |
| 309 | "src/trace_processor/sched_slice_table.h", |
| 310 | "src/trace_processor/scoped_db.h", |
| 311 | "src/trace_processor/slice_table.cc", |
| 312 | "src/trace_processor/slice_table.h", |
| 313 | "src/trace_processor/slice_tracker.cc", |
| 314 | "src/trace_processor/slice_tracker.h", |
| 315 | "src/trace_processor/span_join_operator_table.cc", |
| 316 | "src/trace_processor/span_join_operator_table.h", |
| 317 | "src/trace_processor/sql_stats_table.cc", |
| 318 | "src/trace_processor/sql_stats_table.h", |
Lalit Maganti | c70cd21 | 2019-05-30 17:06:44 +0100 | [diff] [blame] | 319 | "src/trace_processor/sqlite.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 320 | "src/trace_processor/sqlite3_str_split.cc", |
| 321 | "src/trace_processor/sqlite3_str_split.h", |
| 322 | "src/trace_processor/sqlite_utils.h", |
| 323 | "src/trace_processor/stats.h", |
| 324 | "src/trace_processor/stats_table.cc", |
| 325 | "src/trace_processor/stats_table.h", |
| 326 | "src/trace_processor/storage_columns.cc", |
| 327 | "src/trace_processor/storage_columns.h", |
| 328 | "src/trace_processor/storage_schema.cc", |
| 329 | "src/trace_processor/storage_schema.h", |
| 330 | "src/trace_processor/storage_table.cc", |
| 331 | "src/trace_processor/storage_table.h", |
| 332 | "src/trace_processor/string_pool.cc", |
| 333 | "src/trace_processor/string_pool.h", |
| 334 | "src/trace_processor/string_table.cc", |
| 335 | "src/trace_processor/string_table.h", |
| 336 | "src/trace_processor/syscall_tracker.cc", |
| 337 | "src/trace_processor/syscall_tracker.h", |
Lalit Maganti | 5e60c65 | 2019-04-15 19:55:07 +0100 | [diff] [blame] | 338 | "src/trace_processor/syscalls_aarch32.h", |
| 339 | "src/trace_processor/syscalls_aarch64.h", |
| 340 | "src/trace_processor/syscalls_armeabi.h", |
| 341 | "src/trace_processor/syscalls_x86_64.h", |
Lalit Maganti | d33dc27 | 2019-06-06 14:51:45 +0100 | [diff] [blame] | 342 | "src/trace_processor/systrace_parser.cc", |
| 343 | "src/trace_processor/systrace_parser.h", |
Lalit Maganti | d54d752 | 2019-05-30 14:36:08 +0100 | [diff] [blame] | 344 | "src/trace_processor/systrace_trace_parser.cc", |
| 345 | "src/trace_processor/systrace_trace_parser.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 346 | "src/trace_processor/table.cc", |
| 347 | "src/trace_processor/table.h", |
| 348 | "src/trace_processor/thread_table.cc", |
| 349 | "src/trace_processor/thread_table.h", |
| 350 | "src/trace_processor/trace_blob_view.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 351 | "src/trace_processor/trace_parser.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 352 | "src/trace_processor/trace_processor.cc", |
| 353 | "src/trace_processor/trace_processor_context.cc", |
| 354 | "src/trace_processor/trace_processor_context.h", |
| 355 | "src/trace_processor/trace_processor_impl.cc", |
| 356 | "src/trace_processor/trace_processor_impl.h", |
| 357 | "src/trace_processor/trace_sorter.cc", |
| 358 | "src/trace_processor/trace_sorter.h", |
| 359 | "src/trace_processor/trace_storage.cc", |
| 360 | "src/trace_processor/trace_storage.h", |
Mikhail Khokhlov | 85a0dd0 | 2019-05-17 14:22:28 +0100 | [diff] [blame] | 361 | "src/trace_processor/variadic.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 362 | "src/trace_processor/virtual_destructors.cc", |
| 363 | "src/trace_processor/window_operator_table.cc", |
| 364 | "src/trace_processor/window_operator_table.h", |
| 365 | ], |
| 366 | hdrs = [ |
| 367 | "include/perfetto/base/build_config.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 368 | "include/perfetto/base/compiler.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 369 | "include/perfetto/base/export.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 370 | "include/perfetto/base/logging.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 371 | "include/perfetto/base/task_runner.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 372 | "include/perfetto/ext/base/circular_queue.h", |
| 373 | "include/perfetto/ext/base/container_annotations.h", |
| 374 | "include/perfetto/ext/base/event.h", |
| 375 | "include/perfetto/ext/base/file_utils.h", |
| 376 | "include/perfetto/ext/base/hash.h", |
| 377 | "include/perfetto/ext/base/metatrace.h", |
Lalit Maganti | 0dc9859 | 2019-06-05 14:59:55 +0100 | [diff] [blame] | 378 | "include/perfetto/ext/base/metatrace_events.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 379 | "include/perfetto/ext/base/no_destructor.h", |
| 380 | "include/perfetto/ext/base/optional.h", |
| 381 | "include/perfetto/ext/base/paged_memory.h", |
| 382 | "include/perfetto/ext/base/pipe.h", |
| 383 | "include/perfetto/ext/base/scoped_file.h", |
| 384 | "include/perfetto/ext/base/small_set.h", |
| 385 | "include/perfetto/ext/base/string_splitter.h", |
| 386 | "include/perfetto/ext/base/string_utils.h", |
| 387 | "include/perfetto/ext/base/string_view.h", |
| 388 | "include/perfetto/ext/base/string_writer.h", |
| 389 | "include/perfetto/ext/base/temp_file.h", |
| 390 | "include/perfetto/ext/base/thread_annotations.h", |
| 391 | "include/perfetto/ext/base/thread_checker.h", |
| 392 | "include/perfetto/ext/base/thread_task_runner.h", |
| 393 | "include/perfetto/ext/base/thread_utils.h", |
| 394 | "include/perfetto/ext/base/time.h", |
| 395 | "include/perfetto/ext/base/unix_socket.h", |
| 396 | "include/perfetto/ext/base/unix_task_runner.h", |
| 397 | "include/perfetto/ext/base/utils.h", |
| 398 | "include/perfetto/ext/base/watchdog.h", |
| 399 | "include/perfetto/ext/base/watchdog_noop.h", |
| 400 | "include/perfetto/ext/base/watchdog_posix.h", |
| 401 | "include/perfetto/ext/base/weak_ptr.h", |
| 402 | "include/perfetto/ext/traced/sys_stats_counters.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 403 | "include/perfetto/protozero/contiguous_memory_range.h", |
| 404 | "include/perfetto/protozero/field.h", |
| 405 | "include/perfetto/protozero/message.h", |
| 406 | "include/perfetto/protozero/message_handle.h", |
| 407 | "include/perfetto/protozero/proto_decoder.h", |
| 408 | "include/perfetto/protozero/proto_utils.h", |
| 409 | "include/perfetto/protozero/scattered_heap_buffer.h", |
| 410 | "include/perfetto/protozero/scattered_stream_null_delegate.h", |
| 411 | "include/perfetto/protozero/scattered_stream_writer.h", |
| 412 | "include/perfetto/trace_processor/basic_types.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 413 | "include/perfetto/trace_processor/status.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 414 | "include/perfetto/trace_processor/trace_processor.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 415 | ], |
| 416 | deps = [ |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 417 | "//third_party/perfetto:gen_merged_sql_metrics", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 418 | "//third_party/perfetto/google:jsoncpp", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 419 | "//third_party/perfetto/protos:common_zero_cc_proto", |
| 420 | "//third_party/perfetto/protos:config_zero_cc_proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 421 | "//third_party/perfetto/protos:metrics_android_zero_cc_proto", |
| 422 | "//third_party/perfetto/protos:metrics_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 423 | "//third_party/perfetto/protos:trace_android_zero_cc_proto", |
| 424 | "//third_party/perfetto/protos:trace_chrome_zero_cc_proto", |
| 425 | "//third_party/perfetto/protos:trace_filesystem_zero_cc_proto", |
| 426 | "//third_party/perfetto/protos:trace_ftrace_zero_cc_proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 427 | "//third_party/perfetto/protos:trace_gpu_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 428 | "//third_party/perfetto/protos:trace_interned_data_zero_cc_proto", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 429 | "//third_party/perfetto/protos:trace_perfetto_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 430 | "//third_party/perfetto/protos:trace_power_zero_cc_proto", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 431 | "//third_party/perfetto/protos:trace_processor_metrics_impl_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 432 | "//third_party/perfetto/protos:trace_profiling_zero_cc_proto", |
| 433 | "//third_party/perfetto/protos:trace_ps_zero_cc_proto", |
| 434 | "//third_party/perfetto/protos:trace_sys_stats_zero_cc_proto", |
| 435 | "//third_party/perfetto/protos:trace_track_event_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 436 | "//third_party/perfetto/protos:trace_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 437 | "//third_party/sqlite", |
| 438 | "//third_party/sqlite:sqlite_ext_percentile", |
Lalit Maganti | df7d31c | 2019-06-18 13:18:57 +0100 | [diff] [blame] | 439 | "//third_party/zlib:zlibsystem", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 440 | ], |
| 441 | ) |
| 442 | |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 443 | # GN target: //:trace_processor_shell |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 444 | cc_binary( |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 445 | name = "trace_processor_shell", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 446 | srcs = [ |
| 447 | "include/perfetto/base/build_config.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 448 | "include/perfetto/base/compiler.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 449 | "include/perfetto/base/export.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 450 | "include/perfetto/base/logging.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 451 | "include/perfetto/base/task_runner.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 452 | "include/perfetto/ext/base/circular_queue.h", |
| 453 | "include/perfetto/ext/base/container_annotations.h", |
| 454 | "include/perfetto/ext/base/event.h", |
| 455 | "include/perfetto/ext/base/file_utils.h", |
| 456 | "include/perfetto/ext/base/hash.h", |
| 457 | "include/perfetto/ext/base/metatrace.h", |
Lalit Maganti | 0dc9859 | 2019-06-05 14:59:55 +0100 | [diff] [blame] | 458 | "include/perfetto/ext/base/metatrace_events.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 459 | "include/perfetto/ext/base/no_destructor.h", |
| 460 | "include/perfetto/ext/base/optional.h", |
| 461 | "include/perfetto/ext/base/paged_memory.h", |
| 462 | "include/perfetto/ext/base/pipe.h", |
| 463 | "include/perfetto/ext/base/scoped_file.h", |
| 464 | "include/perfetto/ext/base/small_set.h", |
| 465 | "include/perfetto/ext/base/string_splitter.h", |
| 466 | "include/perfetto/ext/base/string_utils.h", |
| 467 | "include/perfetto/ext/base/string_view.h", |
| 468 | "include/perfetto/ext/base/string_writer.h", |
| 469 | "include/perfetto/ext/base/temp_file.h", |
| 470 | "include/perfetto/ext/base/thread_annotations.h", |
| 471 | "include/perfetto/ext/base/thread_checker.h", |
| 472 | "include/perfetto/ext/base/thread_task_runner.h", |
| 473 | "include/perfetto/ext/base/thread_utils.h", |
| 474 | "include/perfetto/ext/base/time.h", |
| 475 | "include/perfetto/ext/base/unix_socket.h", |
| 476 | "include/perfetto/ext/base/unix_task_runner.h", |
| 477 | "include/perfetto/ext/base/utils.h", |
| 478 | "include/perfetto/ext/base/watchdog.h", |
| 479 | "include/perfetto/ext/base/watchdog_noop.h", |
| 480 | "include/perfetto/ext/base/watchdog_posix.h", |
| 481 | "include/perfetto/ext/base/weak_ptr.h", |
| 482 | "include/perfetto/ext/traced/sys_stats_counters.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 483 | "include/perfetto/protozero/contiguous_memory_range.h", |
| 484 | "include/perfetto/protozero/field.h", |
| 485 | "include/perfetto/protozero/message.h", |
| 486 | "include/perfetto/protozero/message_handle.h", |
| 487 | "include/perfetto/protozero/proto_decoder.h", |
| 488 | "include/perfetto/protozero/proto_utils.h", |
| 489 | "include/perfetto/protozero/scattered_heap_buffer.h", |
| 490 | "include/perfetto/protozero/scattered_stream_null_delegate.h", |
| 491 | "include/perfetto/protozero/scattered_stream_writer.h", |
| 492 | "include/perfetto/trace_processor/basic_types.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 493 | "include/perfetto/trace_processor/status.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 494 | "include/perfetto/trace_processor/trace_processor.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 495 | "src/base/event.cc", |
| 496 | "src/base/file_utils.cc", |
| 497 | "src/base/metatrace.cc", |
| 498 | "src/base/paged_memory.cc", |
| 499 | "src/base/pipe.cc", |
| 500 | "src/base/string_splitter.cc", |
| 501 | "src/base/string_utils.cc", |
| 502 | "src/base/string_view.cc", |
| 503 | "src/base/temp_file.cc", |
| 504 | "src/base/thread_checker.cc", |
| 505 | "src/base/thread_task_runner.cc", |
| 506 | "src/base/time.cc", |
| 507 | "src/base/unix_task_runner.cc", |
| 508 | "src/base/virtual_destructors.cc", |
| 509 | "src/base/watchdog_posix.cc", |
| 510 | "src/protozero/message.cc", |
| 511 | "src/protozero/message_handle.cc", |
| 512 | "src/protozero/proto_decoder.cc", |
| 513 | "src/protozero/scattered_heap_buffer.cc", |
| 514 | "src/protozero/scattered_stream_null_delegate.cc", |
| 515 | "src/protozero/scattered_stream_writer.cc", |
| 516 | "src/trace_processor/android_logs_table.cc", |
| 517 | "src/trace_processor/android_logs_table.h", |
| 518 | "src/trace_processor/args_table.cc", |
| 519 | "src/trace_processor/args_table.h", |
| 520 | "src/trace_processor/args_tracker.cc", |
| 521 | "src/trace_processor/args_tracker.h", |
| 522 | "src/trace_processor/chunked_trace_reader.h", |
| 523 | "src/trace_processor/clock_tracker.cc", |
| 524 | "src/trace_processor/clock_tracker.h", |
| 525 | "src/trace_processor/counter_definitions_table.cc", |
| 526 | "src/trace_processor/counter_definitions_table.h", |
| 527 | "src/trace_processor/counter_values_table.cc", |
| 528 | "src/trace_processor/counter_values_table.h", |
| 529 | "src/trace_processor/event_tracker.cc", |
| 530 | "src/trace_processor/event_tracker.h", |
Mikhail Khokhlov | a8d310d | 2019-05-07 17:34:21 +0100 | [diff] [blame] | 531 | "src/trace_processor/export_json.cc", |
| 532 | "src/trace_processor/export_json.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 533 | "src/trace_processor/filtered_row_index.cc", |
| 534 | "src/trace_processor/filtered_row_index.h", |
| 535 | "src/trace_processor/ftrace_descriptors.cc", |
| 536 | "src/trace_processor/ftrace_descriptors.h", |
| 537 | "src/trace_processor/ftrace_utils.cc", |
| 538 | "src/trace_processor/ftrace_utils.h", |
Brian Hamrick | d57e133 | 2019-04-24 11:25:36 -0700 | [diff] [blame] | 539 | "src/trace_processor/fuchsia_provider_view.cc", |
| 540 | "src/trace_processor/fuchsia_provider_view.h", |
| 541 | "src/trace_processor/fuchsia_trace_parser.cc", |
| 542 | "src/trace_processor/fuchsia_trace_parser.h", |
| 543 | "src/trace_processor/fuchsia_trace_tokenizer.cc", |
| 544 | "src/trace_processor/fuchsia_trace_tokenizer.h", |
| 545 | "src/trace_processor/fuchsia_trace_utils.cc", |
| 546 | "src/trace_processor/fuchsia_trace_utils.h", |
Hector Dearman | 22f1de5 | 2019-06-04 18:11:45 +0100 | [diff] [blame] | 547 | "src/trace_processor/gzip_trace_parser.cc", |
| 548 | "src/trace_processor/gzip_trace_parser.h", |
Lalit Maganti | 9b2d52b | 2019-05-07 14:32:15 +0100 | [diff] [blame] | 549 | "src/trace_processor/heap_profile_allocation_table.cc", |
| 550 | "src/trace_processor/heap_profile_allocation_table.h", |
| 551 | "src/trace_processor/heap_profile_callsite_table.cc", |
| 552 | "src/trace_processor/heap_profile_callsite_table.h", |
| 553 | "src/trace_processor/heap_profile_frame_table.cc", |
| 554 | "src/trace_processor/heap_profile_frame_table.h", |
| 555 | "src/trace_processor/heap_profile_mapping_table.cc", |
| 556 | "src/trace_processor/heap_profile_mapping_table.h", |
Florian Mayer | 438b5ab | 2019-05-02 11:18:06 +0100 | [diff] [blame] | 557 | "src/trace_processor/heap_profile_tracker.cc", |
| 558 | "src/trace_processor/heap_profile_tracker.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 559 | "src/trace_processor/instants_table.cc", |
| 560 | "src/trace_processor/instants_table.h", |
| 561 | "src/trace_processor/json_trace_parser.cc", |
| 562 | "src/trace_processor/json_trace_parser.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 563 | "src/trace_processor/json_trace_tokenizer.cc", |
| 564 | "src/trace_processor/json_trace_tokenizer.h", |
| 565 | "src/trace_processor/json_trace_utils.cc", |
| 566 | "src/trace_processor/json_trace_utils.h", |
Mikhail Khokhlov | e466c00 | 2019-05-23 13:33:33 +0100 | [diff] [blame] | 567 | "src/trace_processor/metadata.h", |
| 568 | "src/trace_processor/metadata_table.cc", |
| 569 | "src/trace_processor/metadata_table.h", |
Lalit Maganti | 6221107 | 2019-05-10 14:09:58 +0100 | [diff] [blame] | 570 | "src/trace_processor/metrics/descriptors.cc", |
| 571 | "src/trace_processor/metrics/descriptors.h", |
Lalit Maganti | 622676a | 2019-04-30 14:15:37 +0100 | [diff] [blame] | 572 | "src/trace_processor/metrics/metrics.cc", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 573 | "src/trace_processor/metrics/metrics.descriptor.h", |
Lalit Maganti | 622676a | 2019-04-30 14:15:37 +0100 | [diff] [blame] | 574 | "src/trace_processor/metrics/metrics.h", |
Lalit Maganti | 697cc48 | 2019-05-01 14:39:11 +0100 | [diff] [blame] | 575 | "src/trace_processor/metrics/sql_metrics.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 576 | "src/trace_processor/null_term_string_view.h", |
| 577 | "src/trace_processor/process_table.cc", |
| 578 | "src/trace_processor/process_table.h", |
| 579 | "src/trace_processor/process_tracker.cc", |
| 580 | "src/trace_processor/process_tracker.h", |
Lalit Maganti | c50e142 | 2019-04-29 14:23:25 +0100 | [diff] [blame] | 581 | "src/trace_processor/proto_incremental_state.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 582 | "src/trace_processor/proto_trace_parser.cc", |
| 583 | "src/trace_processor/proto_trace_parser.h", |
| 584 | "src/trace_processor/proto_trace_tokenizer.cc", |
| 585 | "src/trace_processor/proto_trace_tokenizer.h", |
| 586 | "src/trace_processor/query_constraints.cc", |
| 587 | "src/trace_processor/query_constraints.h", |
| 588 | "src/trace_processor/raw_table.cc", |
| 589 | "src/trace_processor/raw_table.h", |
| 590 | "src/trace_processor/row_iterators.cc", |
| 591 | "src/trace_processor/row_iterators.h", |
| 592 | "src/trace_processor/sched_slice_table.cc", |
| 593 | "src/trace_processor/sched_slice_table.h", |
| 594 | "src/trace_processor/scoped_db.h", |
| 595 | "src/trace_processor/slice_table.cc", |
| 596 | "src/trace_processor/slice_table.h", |
| 597 | "src/trace_processor/slice_tracker.cc", |
| 598 | "src/trace_processor/slice_tracker.h", |
| 599 | "src/trace_processor/span_join_operator_table.cc", |
| 600 | "src/trace_processor/span_join_operator_table.h", |
| 601 | "src/trace_processor/sql_stats_table.cc", |
| 602 | "src/trace_processor/sql_stats_table.h", |
Lalit Maganti | c70cd21 | 2019-05-30 17:06:44 +0100 | [diff] [blame] | 603 | "src/trace_processor/sqlite.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 604 | "src/trace_processor/sqlite3_str_split.cc", |
| 605 | "src/trace_processor/sqlite3_str_split.h", |
| 606 | "src/trace_processor/sqlite_utils.h", |
| 607 | "src/trace_processor/stats.h", |
| 608 | "src/trace_processor/stats_table.cc", |
| 609 | "src/trace_processor/stats_table.h", |
| 610 | "src/trace_processor/storage_columns.cc", |
| 611 | "src/trace_processor/storage_columns.h", |
| 612 | "src/trace_processor/storage_schema.cc", |
| 613 | "src/trace_processor/storage_schema.h", |
| 614 | "src/trace_processor/storage_table.cc", |
| 615 | "src/trace_processor/storage_table.h", |
| 616 | "src/trace_processor/string_pool.cc", |
| 617 | "src/trace_processor/string_pool.h", |
| 618 | "src/trace_processor/string_table.cc", |
| 619 | "src/trace_processor/string_table.h", |
| 620 | "src/trace_processor/syscall_tracker.cc", |
| 621 | "src/trace_processor/syscall_tracker.h", |
Lalit Maganti | 5e60c65 | 2019-04-15 19:55:07 +0100 | [diff] [blame] | 622 | "src/trace_processor/syscalls_aarch32.h", |
| 623 | "src/trace_processor/syscalls_aarch64.h", |
| 624 | "src/trace_processor/syscalls_armeabi.h", |
| 625 | "src/trace_processor/syscalls_x86_64.h", |
Lalit Maganti | d33dc27 | 2019-06-06 14:51:45 +0100 | [diff] [blame] | 626 | "src/trace_processor/systrace_parser.cc", |
| 627 | "src/trace_processor/systrace_parser.h", |
Lalit Maganti | d54d752 | 2019-05-30 14:36:08 +0100 | [diff] [blame] | 628 | "src/trace_processor/systrace_trace_parser.cc", |
| 629 | "src/trace_processor/systrace_trace_parser.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 630 | "src/trace_processor/table.cc", |
| 631 | "src/trace_processor/table.h", |
| 632 | "src/trace_processor/thread_table.cc", |
| 633 | "src/trace_processor/thread_table.h", |
| 634 | "src/trace_processor/trace_blob_view.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 635 | "src/trace_processor/trace_parser.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 636 | "src/trace_processor/trace_processor.cc", |
| 637 | "src/trace_processor/trace_processor_context.cc", |
| 638 | "src/trace_processor/trace_processor_context.h", |
| 639 | "src/trace_processor/trace_processor_impl.cc", |
| 640 | "src/trace_processor/trace_processor_impl.h", |
| 641 | "src/trace_processor/trace_processor_shell.cc", |
| 642 | "src/trace_processor/trace_sorter.cc", |
| 643 | "src/trace_processor/trace_sorter.h", |
| 644 | "src/trace_processor/trace_storage.cc", |
| 645 | "src/trace_processor/trace_storage.h", |
Mikhail Khokhlov | 85a0dd0 | 2019-05-17 14:22:28 +0100 | [diff] [blame] | 646 | "src/trace_processor/variadic.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 647 | "src/trace_processor/virtual_destructors.cc", |
| 648 | "src/trace_processor/window_operator_table.cc", |
| 649 | "src/trace_processor/window_operator_table.h", |
| 650 | ], |
| 651 | deps = [ |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 652 | "//third_party/perfetto:gen_merged_sql_metrics", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 653 | "//third_party/perfetto/google:jsoncpp", |
| 654 | "//third_party/perfetto/google:linenoise", |
| 655 | "//third_party/perfetto/google:perfetto_version", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 656 | "//third_party/perfetto/protos:common_zero_cc_proto", |
| 657 | "//third_party/perfetto/protos:config_zero_cc_proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 658 | "//third_party/perfetto/protos:metrics_android_zero_cc_proto", |
| 659 | "//third_party/perfetto/protos:metrics_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 660 | "//third_party/perfetto/protos:trace_android_zero_cc_proto", |
| 661 | "//third_party/perfetto/protos:trace_chrome_zero_cc_proto", |
| 662 | "//third_party/perfetto/protos:trace_filesystem_zero_cc_proto", |
| 663 | "//third_party/perfetto/protos:trace_ftrace_zero_cc_proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 664 | "//third_party/perfetto/protos:trace_gpu_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 665 | "//third_party/perfetto/protos:trace_interned_data_zero_cc_proto", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 666 | "//third_party/perfetto/protos:trace_perfetto_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 667 | "//third_party/perfetto/protos:trace_power_zero_cc_proto", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 668 | "//third_party/perfetto/protos:trace_processor_metrics_impl_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 669 | "//third_party/perfetto/protos:trace_profiling_zero_cc_proto", |
| 670 | "//third_party/perfetto/protos:trace_ps_zero_cc_proto", |
| 671 | "//third_party/perfetto/protos:trace_sys_stats_zero_cc_proto", |
| 672 | "//third_party/perfetto/protos:trace_track_event_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 673 | "//third_party/perfetto/protos:trace_zero_cc_proto", |
Lalit Maganti | ca4d514 | 2019-05-28 13:25:47 +0100 | [diff] [blame] | 674 | "//third_party/protobuf", |
| 675 | "//third_party/protobuf:libprotoc", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 676 | "//third_party/sqlite", |
| 677 | "//third_party/sqlite:sqlite_ext_percentile", |
Lalit Maganti | df7d31c | 2019-06-18 13:18:57 +0100 | [diff] [blame] | 678 | "//third_party/zlib:zlibsystem", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 679 | ], |
| 680 | ) |
| 681 | |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 682 | # GN target: //tools/trace_to_text:trace_to_text_host |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 683 | cc_binary( |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 684 | name = "trace_to_text", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 685 | srcs = [ |
| 686 | "include/perfetto/base/build_config.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 687 | "include/perfetto/base/compiler.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 688 | "include/perfetto/base/export.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 689 | "include/perfetto/base/logging.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 690 | "include/perfetto/base/task_runner.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 691 | "include/perfetto/ext/base/circular_queue.h", |
| 692 | "include/perfetto/ext/base/container_annotations.h", |
| 693 | "include/perfetto/ext/base/event.h", |
| 694 | "include/perfetto/ext/base/file_utils.h", |
| 695 | "include/perfetto/ext/base/hash.h", |
| 696 | "include/perfetto/ext/base/metatrace.h", |
Lalit Maganti | 0dc9859 | 2019-06-05 14:59:55 +0100 | [diff] [blame] | 697 | "include/perfetto/ext/base/metatrace_events.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 698 | "include/perfetto/ext/base/no_destructor.h", |
| 699 | "include/perfetto/ext/base/optional.h", |
| 700 | "include/perfetto/ext/base/paged_memory.h", |
| 701 | "include/perfetto/ext/base/pipe.h", |
| 702 | "include/perfetto/ext/base/scoped_file.h", |
| 703 | "include/perfetto/ext/base/small_set.h", |
| 704 | "include/perfetto/ext/base/string_splitter.h", |
| 705 | "include/perfetto/ext/base/string_utils.h", |
| 706 | "include/perfetto/ext/base/string_view.h", |
| 707 | "include/perfetto/ext/base/string_writer.h", |
| 708 | "include/perfetto/ext/base/temp_file.h", |
| 709 | "include/perfetto/ext/base/thread_annotations.h", |
| 710 | "include/perfetto/ext/base/thread_checker.h", |
| 711 | "include/perfetto/ext/base/thread_task_runner.h", |
| 712 | "include/perfetto/ext/base/thread_utils.h", |
| 713 | "include/perfetto/ext/base/time.h", |
| 714 | "include/perfetto/ext/base/unix_socket.h", |
| 715 | "include/perfetto/ext/base/unix_task_runner.h", |
| 716 | "include/perfetto/ext/base/utils.h", |
| 717 | "include/perfetto/ext/base/watchdog.h", |
| 718 | "include/perfetto/ext/base/watchdog_noop.h", |
| 719 | "include/perfetto/ext/base/watchdog_posix.h", |
| 720 | "include/perfetto/ext/base/weak_ptr.h", |
| 721 | "include/perfetto/ext/traced/sys_stats_counters.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 722 | "include/perfetto/protozero/contiguous_memory_range.h", |
| 723 | "include/perfetto/protozero/field.h", |
| 724 | "include/perfetto/protozero/message.h", |
| 725 | "include/perfetto/protozero/message_handle.h", |
| 726 | "include/perfetto/protozero/proto_decoder.h", |
| 727 | "include/perfetto/protozero/proto_utils.h", |
| 728 | "include/perfetto/protozero/scattered_heap_buffer.h", |
| 729 | "include/perfetto/protozero/scattered_stream_null_delegate.h", |
| 730 | "include/perfetto/protozero/scattered_stream_writer.h", |
| 731 | "include/perfetto/trace_processor/basic_types.h", |
Primiano Tucci | 2c5488f | 2019-06-01 03:27:28 +0100 | [diff] [blame] | 732 | "include/perfetto/trace_processor/status.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 733 | "include/perfetto/trace_processor/trace_processor.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 734 | "src/base/event.cc", |
| 735 | "src/base/file_utils.cc", |
| 736 | "src/base/metatrace.cc", |
| 737 | "src/base/paged_memory.cc", |
| 738 | "src/base/pipe.cc", |
| 739 | "src/base/string_splitter.cc", |
| 740 | "src/base/string_utils.cc", |
| 741 | "src/base/string_view.cc", |
| 742 | "src/base/temp_file.cc", |
| 743 | "src/base/thread_checker.cc", |
| 744 | "src/base/thread_task_runner.cc", |
| 745 | "src/base/time.cc", |
| 746 | "src/base/unix_task_runner.cc", |
| 747 | "src/base/virtual_destructors.cc", |
| 748 | "src/base/watchdog_posix.cc", |
| 749 | "src/protozero/message.cc", |
| 750 | "src/protozero/message_handle.cc", |
| 751 | "src/protozero/proto_decoder.cc", |
| 752 | "src/protozero/scattered_heap_buffer.cc", |
| 753 | "src/protozero/scattered_stream_null_delegate.cc", |
| 754 | "src/protozero/scattered_stream_writer.cc", |
| 755 | "src/trace_processor/android_logs_table.cc", |
| 756 | "src/trace_processor/android_logs_table.h", |
| 757 | "src/trace_processor/args_table.cc", |
| 758 | "src/trace_processor/args_table.h", |
| 759 | "src/trace_processor/args_tracker.cc", |
| 760 | "src/trace_processor/args_tracker.h", |
| 761 | "src/trace_processor/chunked_trace_reader.h", |
| 762 | "src/trace_processor/clock_tracker.cc", |
| 763 | "src/trace_processor/clock_tracker.h", |
| 764 | "src/trace_processor/counter_definitions_table.cc", |
| 765 | "src/trace_processor/counter_definitions_table.h", |
| 766 | "src/trace_processor/counter_values_table.cc", |
| 767 | "src/trace_processor/counter_values_table.h", |
| 768 | "src/trace_processor/event_tracker.cc", |
| 769 | "src/trace_processor/event_tracker.h", |
Mikhail Khokhlov | a8d310d | 2019-05-07 17:34:21 +0100 | [diff] [blame] | 770 | "src/trace_processor/export_json.cc", |
| 771 | "src/trace_processor/export_json.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 772 | "src/trace_processor/filtered_row_index.cc", |
| 773 | "src/trace_processor/filtered_row_index.h", |
| 774 | "src/trace_processor/ftrace_descriptors.cc", |
| 775 | "src/trace_processor/ftrace_descriptors.h", |
| 776 | "src/trace_processor/ftrace_utils.cc", |
| 777 | "src/trace_processor/ftrace_utils.h", |
Brian Hamrick | d57e133 | 2019-04-24 11:25:36 -0700 | [diff] [blame] | 778 | "src/trace_processor/fuchsia_provider_view.cc", |
| 779 | "src/trace_processor/fuchsia_provider_view.h", |
| 780 | "src/trace_processor/fuchsia_trace_parser.cc", |
| 781 | "src/trace_processor/fuchsia_trace_parser.h", |
| 782 | "src/trace_processor/fuchsia_trace_tokenizer.cc", |
| 783 | "src/trace_processor/fuchsia_trace_tokenizer.h", |
| 784 | "src/trace_processor/fuchsia_trace_utils.cc", |
| 785 | "src/trace_processor/fuchsia_trace_utils.h", |
Hector Dearman | 22f1de5 | 2019-06-04 18:11:45 +0100 | [diff] [blame] | 786 | "src/trace_processor/gzip_trace_parser.cc", |
| 787 | "src/trace_processor/gzip_trace_parser.h", |
Lalit Maganti | 9b2d52b | 2019-05-07 14:32:15 +0100 | [diff] [blame] | 788 | "src/trace_processor/heap_profile_allocation_table.cc", |
| 789 | "src/trace_processor/heap_profile_allocation_table.h", |
| 790 | "src/trace_processor/heap_profile_callsite_table.cc", |
| 791 | "src/trace_processor/heap_profile_callsite_table.h", |
| 792 | "src/trace_processor/heap_profile_frame_table.cc", |
| 793 | "src/trace_processor/heap_profile_frame_table.h", |
| 794 | "src/trace_processor/heap_profile_mapping_table.cc", |
| 795 | "src/trace_processor/heap_profile_mapping_table.h", |
Florian Mayer | 438b5ab | 2019-05-02 11:18:06 +0100 | [diff] [blame] | 796 | "src/trace_processor/heap_profile_tracker.cc", |
| 797 | "src/trace_processor/heap_profile_tracker.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 798 | "src/trace_processor/instants_table.cc", |
| 799 | "src/trace_processor/instants_table.h", |
| 800 | "src/trace_processor/json_trace_parser.cc", |
| 801 | "src/trace_processor/json_trace_parser.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 802 | "src/trace_processor/json_trace_tokenizer.cc", |
| 803 | "src/trace_processor/json_trace_tokenizer.h", |
| 804 | "src/trace_processor/json_trace_utils.cc", |
| 805 | "src/trace_processor/json_trace_utils.h", |
Mikhail Khokhlov | e466c00 | 2019-05-23 13:33:33 +0100 | [diff] [blame] | 806 | "src/trace_processor/metadata.h", |
| 807 | "src/trace_processor/metadata_table.cc", |
| 808 | "src/trace_processor/metadata_table.h", |
Lalit Maganti | 6221107 | 2019-05-10 14:09:58 +0100 | [diff] [blame] | 809 | "src/trace_processor/metrics/descriptors.cc", |
| 810 | "src/trace_processor/metrics/descriptors.h", |
Lalit Maganti | 622676a | 2019-04-30 14:15:37 +0100 | [diff] [blame] | 811 | "src/trace_processor/metrics/metrics.cc", |
Lalit Maganti | eb1bf21 | 2019-05-08 15:07:16 +0100 | [diff] [blame] | 812 | "src/trace_processor/metrics/metrics.descriptor.h", |
Lalit Maganti | 622676a | 2019-04-30 14:15:37 +0100 | [diff] [blame] | 813 | "src/trace_processor/metrics/metrics.h", |
Lalit Maganti | 697cc48 | 2019-05-01 14:39:11 +0100 | [diff] [blame] | 814 | "src/trace_processor/metrics/sql_metrics.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 815 | "src/trace_processor/null_term_string_view.h", |
| 816 | "src/trace_processor/process_table.cc", |
| 817 | "src/trace_processor/process_table.h", |
| 818 | "src/trace_processor/process_tracker.cc", |
| 819 | "src/trace_processor/process_tracker.h", |
Lalit Maganti | c50e142 | 2019-04-29 14:23:25 +0100 | [diff] [blame] | 820 | "src/trace_processor/proto_incremental_state.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 821 | "src/trace_processor/proto_trace_parser.cc", |
| 822 | "src/trace_processor/proto_trace_parser.h", |
| 823 | "src/trace_processor/proto_trace_tokenizer.cc", |
| 824 | "src/trace_processor/proto_trace_tokenizer.h", |
| 825 | "src/trace_processor/query_constraints.cc", |
| 826 | "src/trace_processor/query_constraints.h", |
| 827 | "src/trace_processor/raw_table.cc", |
| 828 | "src/trace_processor/raw_table.h", |
| 829 | "src/trace_processor/row_iterators.cc", |
| 830 | "src/trace_processor/row_iterators.h", |
| 831 | "src/trace_processor/sched_slice_table.cc", |
| 832 | "src/trace_processor/sched_slice_table.h", |
| 833 | "src/trace_processor/scoped_db.h", |
| 834 | "src/trace_processor/slice_table.cc", |
| 835 | "src/trace_processor/slice_table.h", |
| 836 | "src/trace_processor/slice_tracker.cc", |
| 837 | "src/trace_processor/slice_tracker.h", |
| 838 | "src/trace_processor/span_join_operator_table.cc", |
| 839 | "src/trace_processor/span_join_operator_table.h", |
| 840 | "src/trace_processor/sql_stats_table.cc", |
| 841 | "src/trace_processor/sql_stats_table.h", |
Lalit Maganti | c70cd21 | 2019-05-30 17:06:44 +0100 | [diff] [blame] | 842 | "src/trace_processor/sqlite.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 843 | "src/trace_processor/sqlite3_str_split.cc", |
| 844 | "src/trace_processor/sqlite3_str_split.h", |
| 845 | "src/trace_processor/sqlite_utils.h", |
| 846 | "src/trace_processor/stats.h", |
| 847 | "src/trace_processor/stats_table.cc", |
| 848 | "src/trace_processor/stats_table.h", |
| 849 | "src/trace_processor/storage_columns.cc", |
| 850 | "src/trace_processor/storage_columns.h", |
| 851 | "src/trace_processor/storage_schema.cc", |
| 852 | "src/trace_processor/storage_schema.h", |
| 853 | "src/trace_processor/storage_table.cc", |
| 854 | "src/trace_processor/storage_table.h", |
| 855 | "src/trace_processor/string_pool.cc", |
| 856 | "src/trace_processor/string_pool.h", |
| 857 | "src/trace_processor/string_table.cc", |
| 858 | "src/trace_processor/string_table.h", |
| 859 | "src/trace_processor/syscall_tracker.cc", |
| 860 | "src/trace_processor/syscall_tracker.h", |
Lalit Maganti | 5e60c65 | 2019-04-15 19:55:07 +0100 | [diff] [blame] | 861 | "src/trace_processor/syscalls_aarch32.h", |
| 862 | "src/trace_processor/syscalls_aarch64.h", |
| 863 | "src/trace_processor/syscalls_armeabi.h", |
| 864 | "src/trace_processor/syscalls_x86_64.h", |
Lalit Maganti | d33dc27 | 2019-06-06 14:51:45 +0100 | [diff] [blame] | 865 | "src/trace_processor/systrace_parser.cc", |
| 866 | "src/trace_processor/systrace_parser.h", |
Lalit Maganti | d54d752 | 2019-05-30 14:36:08 +0100 | [diff] [blame] | 867 | "src/trace_processor/systrace_trace_parser.cc", |
| 868 | "src/trace_processor/systrace_trace_parser.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 869 | "src/trace_processor/table.cc", |
| 870 | "src/trace_processor/table.h", |
| 871 | "src/trace_processor/thread_table.cc", |
| 872 | "src/trace_processor/thread_table.h", |
| 873 | "src/trace_processor/trace_blob_view.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 874 | "src/trace_processor/trace_parser.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 875 | "src/trace_processor/trace_processor.cc", |
| 876 | "src/trace_processor/trace_processor_context.cc", |
| 877 | "src/trace_processor/trace_processor_context.h", |
| 878 | "src/trace_processor/trace_processor_impl.cc", |
| 879 | "src/trace_processor/trace_processor_impl.h", |
| 880 | "src/trace_processor/trace_sorter.cc", |
| 881 | "src/trace_processor/trace_sorter.h", |
| 882 | "src/trace_processor/trace_storage.cc", |
| 883 | "src/trace_processor/trace_storage.h", |
Mikhail Khokhlov | 85a0dd0 | 2019-05-17 14:22:28 +0100 | [diff] [blame] | 884 | "src/trace_processor/variadic.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 885 | "src/trace_processor/virtual_destructors.cc", |
| 886 | "src/trace_processor/window_operator_table.cc", |
| 887 | "src/trace_processor/window_operator_table.h", |
| 888 | "tools/trace_to_text/main.cc", |
Ioannis Ilkos | bd4ee3f | 2019-06-21 17:40:09 +0100 | [diff] [blame^] | 889 | "tools/trace_to_text/pprof_builder.cc", |
| 890 | "tools/trace_to_text/pprof_builder.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 891 | "tools/trace_to_text/proto_full_utils.cc", |
| 892 | "tools/trace_to_text/proto_full_utils.h", |
| 893 | "tools/trace_to_text/trace_to_profile.cc", |
| 894 | "tools/trace_to_text/trace_to_profile.h", |
| 895 | "tools/trace_to_text/trace_to_systrace.cc", |
| 896 | "tools/trace_to_text/trace_to_systrace.h", |
| 897 | "tools/trace_to_text/trace_to_text.cc", |
| 898 | "tools/trace_to_text/trace_to_text.h", |
| 899 | "tools/trace_to_text/utils.cc", |
| 900 | "tools/trace_to_text/utils.h", |
| 901 | ], |
| 902 | deps = [ |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 903 | "//third_party/perfetto:gen_merged_sql_metrics", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 904 | "//third_party/perfetto/google:jsoncpp", |
| 905 | "//third_party/perfetto/google:perfetto_version", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 906 | "//third_party/perfetto/protos:common_cc_proto", |
| 907 | "//third_party/perfetto/protos:common_zero_cc_proto", |
| 908 | "//third_party/perfetto/protos:config_cc_proto", |
| 909 | "//third_party/perfetto/protos:config_zero_cc_proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 910 | "//third_party/perfetto/protos:metrics_android_zero_cc_proto", |
| 911 | "//third_party/perfetto/protos:metrics_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 912 | "//third_party/perfetto/protos:protos_third_party_pprof_cc_proto", |
| 913 | "//third_party/perfetto/protos:trace_android_cc_proto", |
| 914 | "//third_party/perfetto/protos:trace_android_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 915 | "//third_party/perfetto/protos:trace_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 916 | "//third_party/perfetto/protos:trace_chrome_cc_proto", |
| 917 | "//third_party/perfetto/protos:trace_chrome_zero_cc_proto", |
| 918 | "//third_party/perfetto/protos:trace_filesystem_cc_proto", |
| 919 | "//third_party/perfetto/protos:trace_filesystem_zero_cc_proto", |
| 920 | "//third_party/perfetto/protos:trace_ftrace_cc_proto", |
| 921 | "//third_party/perfetto/protos:trace_ftrace_zero_cc_proto", |
Raymond Chiu | 9a707c2 | 2019-05-22 13:19:47 -0700 | [diff] [blame] | 922 | "//third_party/perfetto/protos:trace_gpu_cc_proto", |
| 923 | "//third_party/perfetto/protos:trace_gpu_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 924 | "//third_party/perfetto/protos:trace_interned_data_cc_proto", |
| 925 | "//third_party/perfetto/protos:trace_interned_data_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 926 | "//third_party/perfetto/protos:trace_minimal_cc_proto", |
Primiano Tucci | b02d8dc | 2019-06-04 11:46:43 +0100 | [diff] [blame] | 927 | "//third_party/perfetto/protos:trace_perfetto_cc_proto", |
| 928 | "//third_party/perfetto/protos:trace_perfetto_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 929 | "//third_party/perfetto/protos:trace_power_cc_proto", |
| 930 | "//third_party/perfetto/protos:trace_power_zero_cc_proto", |
Lalit Maganti | e59293b | 2019-05-22 15:07:39 +0100 | [diff] [blame] | 931 | "//third_party/perfetto/protos:trace_processor_metrics_impl_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 932 | "//third_party/perfetto/protos:trace_profiling_cc_proto", |
| 933 | "//third_party/perfetto/protos:trace_profiling_zero_cc_proto", |
| 934 | "//third_party/perfetto/protos:trace_ps_cc_proto", |
| 935 | "//third_party/perfetto/protos:trace_ps_zero_cc_proto", |
| 936 | "//third_party/perfetto/protos:trace_sys_stats_cc_proto", |
| 937 | "//third_party/perfetto/protos:trace_sys_stats_zero_cc_proto", |
| 938 | "//third_party/perfetto/protos:trace_track_event_cc_proto", |
| 939 | "//third_party/perfetto/protos:trace_track_event_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 940 | "//third_party/perfetto/protos:trace_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 941 | "//third_party/protobuf", |
| 942 | "//third_party/protobuf:libprotoc", |
| 943 | "//third_party/sqlite", |
| 944 | "//third_party/sqlite:sqlite_ext_percentile", |
Lalit Maganti | df7d31c | 2019-06-18 13:18:57 +0100 | [diff] [blame] | 945 | "//third_party/zlib:zlibsystem", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 946 | ], |
| 947 | ) |
| 948 | |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 949 | gensignature( |
Lalit Maganti | ef545da | 2019-05-02 14:05:40 +0100 | [diff] [blame] | 950 | name = "trace_processor_sig", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 951 | srcs = [ |
| 952 | ":trace_processor_shell", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 953 | ":trace_to_text", |
| 954 | ], |
Lalit Maganti | ef545da | 2019-05-02 14:05:40 +0100 | [diff] [blame] | 955 | tags = [ |
| 956 | "__TRACE_PROCESSOR_SIG_TAG1", |
| 957 | "__TRACE_PROCESSOR_SIG_TAG2", |
| 958 | ], |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 959 | ) |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 960 | |
| 961 | py_binary( |
Lalit Maganti | caac992 | 2019-05-01 10:40:53 +0100 | [diff] [blame] | 962 | name = "gen_merged_sql_metrics_py", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 963 | srcs = [ |
Lalit Maganti | ab619fa | 2019-05-02 12:56:37 +0100 | [diff] [blame] | 964 | "tools/gen_merged_sql_metrics.py", |
| 965 | ], |
| 966 | main = "tools/gen_merged_sql_metrics.py", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 967 | ) |
Florian Mayer | 41bca83 | 2019-05-09 17:30:26 +0100 | [diff] [blame] | 968 | |
| 969 | load("//security/fuzzing/blaze:cc_fuzz_target.bzl", "cc_fuzz_target") |
| 970 | |
| 971 | cc_fuzz_target( |
| 972 | name = "trace_parsing_fuzzer", |
| 973 | srcs = ["src/trace_processor/trace_parsing_fuzzer.cc"], |
| 974 | componentid = 323270, |
| 975 | deps = [ |
| 976 | ":trace_processor", |
| 977 | "//third_party/perfetto/protos:trace_processor_cc_proto", |
| 978 | ], |
| 979 | ) |
Florian Mayer | e09a797 | 2019-05-09 17:31:42 +0100 | [diff] [blame] | 980 | |
| 981 | cc_fuzz_target( |
| 982 | name = "proto_decoder_fuzzer", |
| 983 | srcs = ["src/protozero/proto_decoder_fuzzer.cc"], |
| 984 | componentid = 323270, |
| 985 | deps = [ |
| 986 | ":trace_processor", |
| 987 | ], |
| 988 | ) |