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 | # |
| 15 | # This file is automatically generated by tools/gen_build. Do not edit. |
| 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 = [ |
| 27 | "src/trace_processor/metrics/android/android_mem.sql", |
Lalit Maganti | 7177c7f | 2019-04-30 15:54:51 +0100 | [diff] [blame] | 28 | "src/trace_processor/metrics/android/android_mem_lmk.sql", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 29 | ], |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 30 | outs = [ |
| 31 | "src/trace_processor/metrics/sql_metrics.h", |
| 32 | ], |
Lalit Maganti | 697cc48 | 2019-05-01 14:39:11 +0100 | [diff] [blame] | 33 | cmd = "$(location gen_merged_sql_metrics_py) --cpp_out=$@ $SRCS", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 34 | tools = [ |
| 35 | "gen_merged_sql_metrics_py", |
| 36 | ], |
| 37 | ) |
| 38 | |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 39 | # GN target: //src/protozero:libprotozero |
| 40 | cc_library( |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 41 | name = "libprotozero", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 42 | srcs = [ |
| 43 | "src/base/event.cc", |
| 44 | "src/base/file_utils.cc", |
| 45 | "src/base/metatrace.cc", |
| 46 | "src/base/paged_memory.cc", |
| 47 | "src/base/pipe.cc", |
| 48 | "src/base/string_splitter.cc", |
| 49 | "src/base/string_utils.cc", |
| 50 | "src/base/string_view.cc", |
| 51 | "src/base/temp_file.cc", |
| 52 | "src/base/thread_checker.cc", |
| 53 | "src/base/thread_task_runner.cc", |
| 54 | "src/base/time.cc", |
| 55 | "src/base/unix_task_runner.cc", |
| 56 | "src/base/virtual_destructors.cc", |
| 57 | "src/base/watchdog_posix.cc", |
| 58 | "src/protozero/message.cc", |
| 59 | "src/protozero/message_handle.cc", |
| 60 | "src/protozero/proto_decoder.cc", |
| 61 | "src/protozero/scattered_heap_buffer.cc", |
| 62 | "src/protozero/scattered_stream_null_delegate.cc", |
| 63 | "src/protozero/scattered_stream_writer.cc", |
| 64 | ], |
| 65 | hdrs = [ |
| 66 | "include/perfetto/base/build_config.h", |
| 67 | "include/perfetto/base/circular_queue.h", |
| 68 | "include/perfetto/base/container_annotations.h", |
| 69 | "include/perfetto/base/event.h", |
| 70 | "include/perfetto/base/export.h", |
| 71 | "include/perfetto/base/file_utils.h", |
| 72 | "include/perfetto/base/gtest_prod_util.h", |
| 73 | "include/perfetto/base/hash.h", |
| 74 | "include/perfetto/base/logging.h", |
| 75 | "include/perfetto/base/metatrace.h", |
Lalit Maganti | 85fd37e | 2019-04-24 15:18:26 +0100 | [diff] [blame] | 76 | "include/perfetto/base/no_destructor.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 77 | "include/perfetto/base/optional.h", |
| 78 | "include/perfetto/base/paged_memory.h", |
| 79 | "include/perfetto/base/pipe.h", |
| 80 | "include/perfetto/base/scoped_file.h", |
| 81 | "include/perfetto/base/small_set.h", |
| 82 | "include/perfetto/base/string_splitter.h", |
| 83 | "include/perfetto/base/string_utils.h", |
| 84 | "include/perfetto/base/string_view.h", |
| 85 | "include/perfetto/base/string_writer.h", |
| 86 | "include/perfetto/base/task_runner.h", |
| 87 | "include/perfetto/base/temp_file.h", |
| 88 | "include/perfetto/base/thread_checker.h", |
| 89 | "include/perfetto/base/thread_task_runner.h", |
| 90 | "include/perfetto/base/thread_utils.h", |
| 91 | "include/perfetto/base/time.h", |
| 92 | "include/perfetto/base/unix_socket.h", |
| 93 | "include/perfetto/base/unix_task_runner.h", |
| 94 | "include/perfetto/base/utils.h", |
| 95 | "include/perfetto/base/watchdog.h", |
| 96 | "include/perfetto/base/watchdog_noop.h", |
| 97 | "include/perfetto/base/watchdog_posix.h", |
| 98 | "include/perfetto/base/weak_ptr.h", |
| 99 | "include/perfetto/protozero/contiguous_memory_range.h", |
| 100 | "include/perfetto/protozero/field.h", |
| 101 | "include/perfetto/protozero/message.h", |
| 102 | "include/perfetto/protozero/message_handle.h", |
| 103 | "include/perfetto/protozero/proto_decoder.h", |
| 104 | "include/perfetto/protozero/proto_utils.h", |
| 105 | "include/perfetto/protozero/scattered_heap_buffer.h", |
| 106 | "include/perfetto/protozero/scattered_stream_null_delegate.h", |
| 107 | "include/perfetto/protozero/scattered_stream_writer.h", |
| 108 | ], |
| 109 | deps = [ |
| 110 | "//third_party/perfetto/google:gtest_prod", |
| 111 | ], |
| 112 | ) |
| 113 | |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 114 | # GN target: //src/protozero/protoc_plugin:protoc_plugin |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 115 | cc_binary( |
| 116 | name = "src_protozero_protoc_plugin_protoc_plugin", |
| 117 | srcs = [ |
| 118 | "src/protozero/protoc_plugin/protozero_generator.cc", |
| 119 | "src/protozero/protoc_plugin/protozero_generator.h", |
| 120 | "src/protozero/protoc_plugin/protozero_plugin.cc", |
| 121 | ], |
| 122 | deps = [ |
| 123 | "//third_party/protobuf", |
| 124 | "//third_party/protobuf:libprotoc", |
| 125 | ], |
| 126 | ) |
| 127 | |
| 128 | # GN target: //src/trace_processor:trace_processor |
| 129 | cc_library( |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 130 | name = "trace_processor", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 131 | srcs = [ |
| 132 | "src/base/event.cc", |
| 133 | "src/base/file_utils.cc", |
| 134 | "src/base/metatrace.cc", |
| 135 | "src/base/paged_memory.cc", |
| 136 | "src/base/pipe.cc", |
| 137 | "src/base/string_splitter.cc", |
| 138 | "src/base/string_utils.cc", |
| 139 | "src/base/string_view.cc", |
| 140 | "src/base/temp_file.cc", |
| 141 | "src/base/thread_checker.cc", |
| 142 | "src/base/thread_task_runner.cc", |
| 143 | "src/base/time.cc", |
| 144 | "src/base/unix_task_runner.cc", |
| 145 | "src/base/virtual_destructors.cc", |
| 146 | "src/base/watchdog_posix.cc", |
| 147 | "src/protozero/message.cc", |
| 148 | "src/protozero/message_handle.cc", |
| 149 | "src/protozero/proto_decoder.cc", |
| 150 | "src/protozero/scattered_heap_buffer.cc", |
| 151 | "src/protozero/scattered_stream_null_delegate.cc", |
| 152 | "src/protozero/scattered_stream_writer.cc", |
| 153 | "src/trace_processor/android_logs_table.cc", |
| 154 | "src/trace_processor/android_logs_table.h", |
| 155 | "src/trace_processor/args_table.cc", |
| 156 | "src/trace_processor/args_table.h", |
| 157 | "src/trace_processor/args_tracker.cc", |
| 158 | "src/trace_processor/args_tracker.h", |
| 159 | "src/trace_processor/chunked_trace_reader.h", |
| 160 | "src/trace_processor/clock_tracker.cc", |
| 161 | "src/trace_processor/clock_tracker.h", |
| 162 | "src/trace_processor/counter_definitions_table.cc", |
| 163 | "src/trace_processor/counter_definitions_table.h", |
| 164 | "src/trace_processor/counter_values_table.cc", |
| 165 | "src/trace_processor/counter_values_table.h", |
| 166 | "src/trace_processor/event_tracker.cc", |
| 167 | "src/trace_processor/event_tracker.h", |
| 168 | "src/trace_processor/filtered_row_index.cc", |
| 169 | "src/trace_processor/filtered_row_index.h", |
| 170 | "src/trace_processor/ftrace_descriptors.cc", |
| 171 | "src/trace_processor/ftrace_descriptors.h", |
| 172 | "src/trace_processor/ftrace_utils.cc", |
| 173 | "src/trace_processor/ftrace_utils.h", |
Brian Hamrick | d57e133 | 2019-04-24 11:25:36 -0700 | [diff] [blame] | 174 | "src/trace_processor/fuchsia_provider_view.cc", |
| 175 | "src/trace_processor/fuchsia_provider_view.h", |
| 176 | "src/trace_processor/fuchsia_trace_parser.cc", |
| 177 | "src/trace_processor/fuchsia_trace_parser.h", |
| 178 | "src/trace_processor/fuchsia_trace_tokenizer.cc", |
| 179 | "src/trace_processor/fuchsia_trace_tokenizer.h", |
| 180 | "src/trace_processor/fuchsia_trace_utils.cc", |
| 181 | "src/trace_processor/fuchsia_trace_utils.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 182 | "src/trace_processor/instants_table.cc", |
| 183 | "src/trace_processor/instants_table.h", |
| 184 | "src/trace_processor/json_trace_parser.cc", |
| 185 | "src/trace_processor/json_trace_parser.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 186 | "src/trace_processor/json_trace_tokenizer.cc", |
| 187 | "src/trace_processor/json_trace_tokenizer.h", |
| 188 | "src/trace_processor/json_trace_utils.cc", |
| 189 | "src/trace_processor/json_trace_utils.h", |
Lalit Maganti | 622676a | 2019-04-30 14:15:37 +0100 | [diff] [blame] | 190 | "src/trace_processor/metrics/metrics.cc", |
| 191 | "src/trace_processor/metrics/metrics.h", |
Lalit Maganti | 697cc48 | 2019-05-01 14:39:11 +0100 | [diff] [blame] | 192 | "src/trace_processor/metrics/sql_metrics.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 193 | "src/trace_processor/null_term_string_view.h", |
| 194 | "src/trace_processor/process_table.cc", |
| 195 | "src/trace_processor/process_table.h", |
| 196 | "src/trace_processor/process_tracker.cc", |
| 197 | "src/trace_processor/process_tracker.h", |
Lalit Maganti | c50e142 | 2019-04-29 14:23:25 +0100 | [diff] [blame] | 198 | "src/trace_processor/proto_incremental_state.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 199 | "src/trace_processor/proto_trace_parser.cc", |
| 200 | "src/trace_processor/proto_trace_parser.h", |
| 201 | "src/trace_processor/proto_trace_tokenizer.cc", |
| 202 | "src/trace_processor/proto_trace_tokenizer.h", |
| 203 | "src/trace_processor/query_constraints.cc", |
| 204 | "src/trace_processor/query_constraints.h", |
| 205 | "src/trace_processor/raw_table.cc", |
| 206 | "src/trace_processor/raw_table.h", |
| 207 | "src/trace_processor/row_iterators.cc", |
| 208 | "src/trace_processor/row_iterators.h", |
| 209 | "src/trace_processor/sched_slice_table.cc", |
| 210 | "src/trace_processor/sched_slice_table.h", |
| 211 | "src/trace_processor/scoped_db.h", |
| 212 | "src/trace_processor/slice_table.cc", |
| 213 | "src/trace_processor/slice_table.h", |
| 214 | "src/trace_processor/slice_tracker.cc", |
| 215 | "src/trace_processor/slice_tracker.h", |
| 216 | "src/trace_processor/span_join_operator_table.cc", |
| 217 | "src/trace_processor/span_join_operator_table.h", |
| 218 | "src/trace_processor/sql_stats_table.cc", |
| 219 | "src/trace_processor/sql_stats_table.h", |
| 220 | "src/trace_processor/sqlite3_str_split.cc", |
| 221 | "src/trace_processor/sqlite3_str_split.h", |
| 222 | "src/trace_processor/sqlite_utils.h", |
| 223 | "src/trace_processor/stats.h", |
| 224 | "src/trace_processor/stats_table.cc", |
| 225 | "src/trace_processor/stats_table.h", |
| 226 | "src/trace_processor/storage_columns.cc", |
| 227 | "src/trace_processor/storage_columns.h", |
| 228 | "src/trace_processor/storage_schema.cc", |
| 229 | "src/trace_processor/storage_schema.h", |
| 230 | "src/trace_processor/storage_table.cc", |
| 231 | "src/trace_processor/storage_table.h", |
| 232 | "src/trace_processor/string_pool.cc", |
| 233 | "src/trace_processor/string_pool.h", |
| 234 | "src/trace_processor/string_table.cc", |
| 235 | "src/trace_processor/string_table.h", |
| 236 | "src/trace_processor/syscall_tracker.cc", |
| 237 | "src/trace_processor/syscall_tracker.h", |
Lalit Maganti | 5e60c65 | 2019-04-15 19:55:07 +0100 | [diff] [blame] | 238 | "src/trace_processor/syscalls_aarch32.h", |
| 239 | "src/trace_processor/syscalls_aarch64.h", |
| 240 | "src/trace_processor/syscalls_armeabi.h", |
| 241 | "src/trace_processor/syscalls_x86_64.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 242 | "src/trace_processor/table.cc", |
| 243 | "src/trace_processor/table.h", |
| 244 | "src/trace_processor/thread_table.cc", |
| 245 | "src/trace_processor/thread_table.h", |
| 246 | "src/trace_processor/trace_blob_view.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 247 | "src/trace_processor/trace_parser.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 248 | "src/trace_processor/trace_processor.cc", |
| 249 | "src/trace_processor/trace_processor_context.cc", |
| 250 | "src/trace_processor/trace_processor_context.h", |
| 251 | "src/trace_processor/trace_processor_impl.cc", |
| 252 | "src/trace_processor/trace_processor_impl.h", |
| 253 | "src/trace_processor/trace_sorter.cc", |
| 254 | "src/trace_processor/trace_sorter.h", |
| 255 | "src/trace_processor/trace_storage.cc", |
| 256 | "src/trace_processor/trace_storage.h", |
| 257 | "src/trace_processor/virtual_destructors.cc", |
| 258 | "src/trace_processor/window_operator_table.cc", |
| 259 | "src/trace_processor/window_operator_table.h", |
| 260 | ], |
| 261 | hdrs = [ |
| 262 | "include/perfetto/base/build_config.h", |
| 263 | "include/perfetto/base/circular_queue.h", |
| 264 | "include/perfetto/base/container_annotations.h", |
| 265 | "include/perfetto/base/event.h", |
| 266 | "include/perfetto/base/export.h", |
| 267 | "include/perfetto/base/file_utils.h", |
| 268 | "include/perfetto/base/gtest_prod_util.h", |
| 269 | "include/perfetto/base/hash.h", |
| 270 | "include/perfetto/base/logging.h", |
| 271 | "include/perfetto/base/metatrace.h", |
Lalit Maganti | 85fd37e | 2019-04-24 15:18:26 +0100 | [diff] [blame] | 272 | "include/perfetto/base/no_destructor.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 273 | "include/perfetto/base/optional.h", |
| 274 | "include/perfetto/base/paged_memory.h", |
| 275 | "include/perfetto/base/pipe.h", |
| 276 | "include/perfetto/base/scoped_file.h", |
| 277 | "include/perfetto/base/small_set.h", |
| 278 | "include/perfetto/base/string_splitter.h", |
| 279 | "include/perfetto/base/string_utils.h", |
| 280 | "include/perfetto/base/string_view.h", |
| 281 | "include/perfetto/base/string_writer.h", |
| 282 | "include/perfetto/base/task_runner.h", |
| 283 | "include/perfetto/base/temp_file.h", |
| 284 | "include/perfetto/base/thread_checker.h", |
| 285 | "include/perfetto/base/thread_task_runner.h", |
| 286 | "include/perfetto/base/thread_utils.h", |
| 287 | "include/perfetto/base/time.h", |
| 288 | "include/perfetto/base/unix_socket.h", |
| 289 | "include/perfetto/base/unix_task_runner.h", |
| 290 | "include/perfetto/base/utils.h", |
| 291 | "include/perfetto/base/watchdog.h", |
| 292 | "include/perfetto/base/watchdog_noop.h", |
| 293 | "include/perfetto/base/watchdog_posix.h", |
| 294 | "include/perfetto/base/weak_ptr.h", |
| 295 | "include/perfetto/protozero/contiguous_memory_range.h", |
| 296 | "include/perfetto/protozero/field.h", |
| 297 | "include/perfetto/protozero/message.h", |
| 298 | "include/perfetto/protozero/message_handle.h", |
| 299 | "include/perfetto/protozero/proto_decoder.h", |
| 300 | "include/perfetto/protozero/proto_utils.h", |
| 301 | "include/perfetto/protozero/scattered_heap_buffer.h", |
| 302 | "include/perfetto/protozero/scattered_stream_null_delegate.h", |
| 303 | "include/perfetto/protozero/scattered_stream_writer.h", |
| 304 | "include/perfetto/trace_processor/basic_types.h", |
| 305 | "include/perfetto/trace_processor/trace_processor.h", |
| 306 | "include/perfetto/traced/sys_stats_counters.h", |
| 307 | ], |
| 308 | deps = [ |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 309 | "//third_party/perfetto:gen_merged_sql_metrics", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 310 | "//third_party/perfetto/google:gtest_prod", |
| 311 | "//third_party/perfetto/google:jsoncpp", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 312 | "//third_party/perfetto/protos:common_zero_cc_proto", |
| 313 | "//third_party/perfetto/protos:config_zero_cc_proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 314 | "//third_party/perfetto/protos:metrics_android_zero_cc_proto", |
| 315 | "//third_party/perfetto/protos:metrics_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 316 | "//third_party/perfetto/protos:trace_android_zero_cc_proto", |
| 317 | "//third_party/perfetto/protos:trace_chrome_zero_cc_proto", |
| 318 | "//third_party/perfetto/protos:trace_filesystem_zero_cc_proto", |
| 319 | "//third_party/perfetto/protos:trace_ftrace_zero_cc_proto", |
| 320 | "//third_party/perfetto/protos:trace_interned_data_zero_cc_proto", |
| 321 | "//third_party/perfetto/protos:trace_power_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 322 | "//third_party/perfetto/protos:trace_profiling_zero_cc_proto", |
| 323 | "//third_party/perfetto/protos:trace_ps_zero_cc_proto", |
| 324 | "//third_party/perfetto/protos:trace_sys_stats_zero_cc_proto", |
| 325 | "//third_party/perfetto/protos:trace_track_event_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 326 | "//third_party/perfetto/protos:trace_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 327 | "//third_party/sqlite", |
| 328 | "//third_party/sqlite:sqlite_ext_percentile", |
| 329 | ], |
| 330 | ) |
| 331 | |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 332 | # GN target: //src/trace_processor:trace_processor_shell_host |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 333 | cc_binary( |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 334 | name = "trace_processor_shell", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 335 | srcs = [ |
| 336 | "include/perfetto/base/build_config.h", |
| 337 | "include/perfetto/base/circular_queue.h", |
| 338 | "include/perfetto/base/container_annotations.h", |
| 339 | "include/perfetto/base/event.h", |
| 340 | "include/perfetto/base/export.h", |
| 341 | "include/perfetto/base/file_utils.h", |
| 342 | "include/perfetto/base/gtest_prod_util.h", |
| 343 | "include/perfetto/base/hash.h", |
| 344 | "include/perfetto/base/logging.h", |
| 345 | "include/perfetto/base/metatrace.h", |
Lalit Maganti | 85fd37e | 2019-04-24 15:18:26 +0100 | [diff] [blame] | 346 | "include/perfetto/base/no_destructor.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 347 | "include/perfetto/base/optional.h", |
| 348 | "include/perfetto/base/paged_memory.h", |
| 349 | "include/perfetto/base/pipe.h", |
| 350 | "include/perfetto/base/scoped_file.h", |
| 351 | "include/perfetto/base/small_set.h", |
| 352 | "include/perfetto/base/string_splitter.h", |
| 353 | "include/perfetto/base/string_utils.h", |
| 354 | "include/perfetto/base/string_view.h", |
| 355 | "include/perfetto/base/string_writer.h", |
| 356 | "include/perfetto/base/task_runner.h", |
| 357 | "include/perfetto/base/temp_file.h", |
| 358 | "include/perfetto/base/thread_checker.h", |
| 359 | "include/perfetto/base/thread_task_runner.h", |
| 360 | "include/perfetto/base/thread_utils.h", |
| 361 | "include/perfetto/base/time.h", |
| 362 | "include/perfetto/base/unix_socket.h", |
| 363 | "include/perfetto/base/unix_task_runner.h", |
| 364 | "include/perfetto/base/utils.h", |
| 365 | "include/perfetto/base/watchdog.h", |
| 366 | "include/perfetto/base/watchdog_noop.h", |
| 367 | "include/perfetto/base/watchdog_posix.h", |
| 368 | "include/perfetto/base/weak_ptr.h", |
| 369 | "include/perfetto/protozero/contiguous_memory_range.h", |
| 370 | "include/perfetto/protozero/field.h", |
| 371 | "include/perfetto/protozero/message.h", |
| 372 | "include/perfetto/protozero/message_handle.h", |
| 373 | "include/perfetto/protozero/proto_decoder.h", |
| 374 | "include/perfetto/protozero/proto_utils.h", |
| 375 | "include/perfetto/protozero/scattered_heap_buffer.h", |
| 376 | "include/perfetto/protozero/scattered_stream_null_delegate.h", |
| 377 | "include/perfetto/protozero/scattered_stream_writer.h", |
| 378 | "include/perfetto/trace_processor/basic_types.h", |
| 379 | "include/perfetto/trace_processor/trace_processor.h", |
| 380 | "include/perfetto/traced/sys_stats_counters.h", |
| 381 | "src/base/event.cc", |
| 382 | "src/base/file_utils.cc", |
| 383 | "src/base/metatrace.cc", |
| 384 | "src/base/paged_memory.cc", |
| 385 | "src/base/pipe.cc", |
| 386 | "src/base/string_splitter.cc", |
| 387 | "src/base/string_utils.cc", |
| 388 | "src/base/string_view.cc", |
| 389 | "src/base/temp_file.cc", |
| 390 | "src/base/thread_checker.cc", |
| 391 | "src/base/thread_task_runner.cc", |
| 392 | "src/base/time.cc", |
| 393 | "src/base/unix_task_runner.cc", |
| 394 | "src/base/virtual_destructors.cc", |
| 395 | "src/base/watchdog_posix.cc", |
| 396 | "src/protozero/message.cc", |
| 397 | "src/protozero/message_handle.cc", |
| 398 | "src/protozero/proto_decoder.cc", |
| 399 | "src/protozero/scattered_heap_buffer.cc", |
| 400 | "src/protozero/scattered_stream_null_delegate.cc", |
| 401 | "src/protozero/scattered_stream_writer.cc", |
| 402 | "src/trace_processor/android_logs_table.cc", |
| 403 | "src/trace_processor/android_logs_table.h", |
| 404 | "src/trace_processor/args_table.cc", |
| 405 | "src/trace_processor/args_table.h", |
| 406 | "src/trace_processor/args_tracker.cc", |
| 407 | "src/trace_processor/args_tracker.h", |
| 408 | "src/trace_processor/chunked_trace_reader.h", |
| 409 | "src/trace_processor/clock_tracker.cc", |
| 410 | "src/trace_processor/clock_tracker.h", |
| 411 | "src/trace_processor/counter_definitions_table.cc", |
| 412 | "src/trace_processor/counter_definitions_table.h", |
| 413 | "src/trace_processor/counter_values_table.cc", |
| 414 | "src/trace_processor/counter_values_table.h", |
| 415 | "src/trace_processor/event_tracker.cc", |
| 416 | "src/trace_processor/event_tracker.h", |
| 417 | "src/trace_processor/filtered_row_index.cc", |
| 418 | "src/trace_processor/filtered_row_index.h", |
| 419 | "src/trace_processor/ftrace_descriptors.cc", |
| 420 | "src/trace_processor/ftrace_descriptors.h", |
| 421 | "src/trace_processor/ftrace_utils.cc", |
| 422 | "src/trace_processor/ftrace_utils.h", |
Brian Hamrick | d57e133 | 2019-04-24 11:25:36 -0700 | [diff] [blame] | 423 | "src/trace_processor/fuchsia_provider_view.cc", |
| 424 | "src/trace_processor/fuchsia_provider_view.h", |
| 425 | "src/trace_processor/fuchsia_trace_parser.cc", |
| 426 | "src/trace_processor/fuchsia_trace_parser.h", |
| 427 | "src/trace_processor/fuchsia_trace_tokenizer.cc", |
| 428 | "src/trace_processor/fuchsia_trace_tokenizer.h", |
| 429 | "src/trace_processor/fuchsia_trace_utils.cc", |
| 430 | "src/trace_processor/fuchsia_trace_utils.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 431 | "src/trace_processor/instants_table.cc", |
| 432 | "src/trace_processor/instants_table.h", |
| 433 | "src/trace_processor/json_trace_parser.cc", |
| 434 | "src/trace_processor/json_trace_parser.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 435 | "src/trace_processor/json_trace_tokenizer.cc", |
| 436 | "src/trace_processor/json_trace_tokenizer.h", |
| 437 | "src/trace_processor/json_trace_utils.cc", |
| 438 | "src/trace_processor/json_trace_utils.h", |
Lalit Maganti | 622676a | 2019-04-30 14:15:37 +0100 | [diff] [blame] | 439 | "src/trace_processor/metrics/metrics.cc", |
| 440 | "src/trace_processor/metrics/metrics.h", |
Lalit Maganti | 697cc48 | 2019-05-01 14:39:11 +0100 | [diff] [blame] | 441 | "src/trace_processor/metrics/sql_metrics.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 442 | "src/trace_processor/null_term_string_view.h", |
| 443 | "src/trace_processor/process_table.cc", |
| 444 | "src/trace_processor/process_table.h", |
| 445 | "src/trace_processor/process_tracker.cc", |
| 446 | "src/trace_processor/process_tracker.h", |
Lalit Maganti | c50e142 | 2019-04-29 14:23:25 +0100 | [diff] [blame] | 447 | "src/trace_processor/proto_incremental_state.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 448 | "src/trace_processor/proto_trace_parser.cc", |
| 449 | "src/trace_processor/proto_trace_parser.h", |
| 450 | "src/trace_processor/proto_trace_tokenizer.cc", |
| 451 | "src/trace_processor/proto_trace_tokenizer.h", |
| 452 | "src/trace_processor/query_constraints.cc", |
| 453 | "src/trace_processor/query_constraints.h", |
| 454 | "src/trace_processor/raw_table.cc", |
| 455 | "src/trace_processor/raw_table.h", |
| 456 | "src/trace_processor/row_iterators.cc", |
| 457 | "src/trace_processor/row_iterators.h", |
| 458 | "src/trace_processor/sched_slice_table.cc", |
| 459 | "src/trace_processor/sched_slice_table.h", |
| 460 | "src/trace_processor/scoped_db.h", |
| 461 | "src/trace_processor/slice_table.cc", |
| 462 | "src/trace_processor/slice_table.h", |
| 463 | "src/trace_processor/slice_tracker.cc", |
| 464 | "src/trace_processor/slice_tracker.h", |
| 465 | "src/trace_processor/span_join_operator_table.cc", |
| 466 | "src/trace_processor/span_join_operator_table.h", |
| 467 | "src/trace_processor/sql_stats_table.cc", |
| 468 | "src/trace_processor/sql_stats_table.h", |
| 469 | "src/trace_processor/sqlite3_str_split.cc", |
| 470 | "src/trace_processor/sqlite3_str_split.h", |
| 471 | "src/trace_processor/sqlite_utils.h", |
| 472 | "src/trace_processor/stats.h", |
| 473 | "src/trace_processor/stats_table.cc", |
| 474 | "src/trace_processor/stats_table.h", |
| 475 | "src/trace_processor/storage_columns.cc", |
| 476 | "src/trace_processor/storage_columns.h", |
| 477 | "src/trace_processor/storage_schema.cc", |
| 478 | "src/trace_processor/storage_schema.h", |
| 479 | "src/trace_processor/storage_table.cc", |
| 480 | "src/trace_processor/storage_table.h", |
| 481 | "src/trace_processor/string_pool.cc", |
| 482 | "src/trace_processor/string_pool.h", |
| 483 | "src/trace_processor/string_table.cc", |
| 484 | "src/trace_processor/string_table.h", |
| 485 | "src/trace_processor/syscall_tracker.cc", |
| 486 | "src/trace_processor/syscall_tracker.h", |
Lalit Maganti | 5e60c65 | 2019-04-15 19:55:07 +0100 | [diff] [blame] | 487 | "src/trace_processor/syscalls_aarch32.h", |
| 488 | "src/trace_processor/syscalls_aarch64.h", |
| 489 | "src/trace_processor/syscalls_armeabi.h", |
| 490 | "src/trace_processor/syscalls_x86_64.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 491 | "src/trace_processor/table.cc", |
| 492 | "src/trace_processor/table.h", |
| 493 | "src/trace_processor/thread_table.cc", |
| 494 | "src/trace_processor/thread_table.h", |
| 495 | "src/trace_processor/trace_blob_view.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 496 | "src/trace_processor/trace_parser.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 497 | "src/trace_processor/trace_processor.cc", |
| 498 | "src/trace_processor/trace_processor_context.cc", |
| 499 | "src/trace_processor/trace_processor_context.h", |
| 500 | "src/trace_processor/trace_processor_impl.cc", |
| 501 | "src/trace_processor/trace_processor_impl.h", |
| 502 | "src/trace_processor/trace_processor_shell.cc", |
| 503 | "src/trace_processor/trace_sorter.cc", |
| 504 | "src/trace_processor/trace_sorter.h", |
| 505 | "src/trace_processor/trace_storage.cc", |
| 506 | "src/trace_processor/trace_storage.h", |
| 507 | "src/trace_processor/virtual_destructors.cc", |
| 508 | "src/trace_processor/window_operator_table.cc", |
| 509 | "src/trace_processor/window_operator_table.h", |
| 510 | ], |
| 511 | deps = [ |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 512 | "//third_party/perfetto:gen_merged_sql_metrics", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 513 | "//third_party/perfetto/google:gtest_prod", |
| 514 | "//third_party/perfetto/google:jsoncpp", |
| 515 | "//third_party/perfetto/google:linenoise", |
| 516 | "//third_party/perfetto/google:perfetto_version", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 517 | "//third_party/perfetto/protos:common_zero_cc_proto", |
| 518 | "//third_party/perfetto/protos:config_zero_cc_proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 519 | "//third_party/perfetto/protos:metrics_android_zero_cc_proto", |
| 520 | "//third_party/perfetto/protos:metrics_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 521 | "//third_party/perfetto/protos:trace_android_zero_cc_proto", |
| 522 | "//third_party/perfetto/protos:trace_chrome_zero_cc_proto", |
| 523 | "//third_party/perfetto/protos:trace_filesystem_zero_cc_proto", |
| 524 | "//third_party/perfetto/protos:trace_ftrace_zero_cc_proto", |
| 525 | "//third_party/perfetto/protos:trace_interned_data_zero_cc_proto", |
| 526 | "//third_party/perfetto/protos:trace_power_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 527 | "//third_party/perfetto/protos:trace_profiling_zero_cc_proto", |
| 528 | "//third_party/perfetto/protos:trace_ps_zero_cc_proto", |
| 529 | "//third_party/perfetto/protos:trace_sys_stats_zero_cc_proto", |
| 530 | "//third_party/perfetto/protos:trace_track_event_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 531 | "//third_party/perfetto/protos:trace_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 532 | "//third_party/sqlite", |
| 533 | "//third_party/sqlite:sqlite_ext_percentile", |
| 534 | ], |
| 535 | ) |
| 536 | |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 537 | # GN target: //tools/trace_to_text:trace_to_text_host |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 538 | cc_binary( |
Lalit Maganti | 5e24247 | 2019-04-01 17:25:08 +0100 | [diff] [blame] | 539 | name = "trace_to_text", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 540 | srcs = [ |
| 541 | "include/perfetto/base/build_config.h", |
| 542 | "include/perfetto/base/circular_queue.h", |
| 543 | "include/perfetto/base/container_annotations.h", |
| 544 | "include/perfetto/base/event.h", |
| 545 | "include/perfetto/base/export.h", |
| 546 | "include/perfetto/base/file_utils.h", |
| 547 | "include/perfetto/base/gtest_prod_util.h", |
| 548 | "include/perfetto/base/hash.h", |
| 549 | "include/perfetto/base/logging.h", |
| 550 | "include/perfetto/base/metatrace.h", |
Lalit Maganti | 85fd37e | 2019-04-24 15:18:26 +0100 | [diff] [blame] | 551 | "include/perfetto/base/no_destructor.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 552 | "include/perfetto/base/optional.h", |
| 553 | "include/perfetto/base/paged_memory.h", |
| 554 | "include/perfetto/base/pipe.h", |
| 555 | "include/perfetto/base/scoped_file.h", |
| 556 | "include/perfetto/base/small_set.h", |
| 557 | "include/perfetto/base/string_splitter.h", |
| 558 | "include/perfetto/base/string_utils.h", |
| 559 | "include/perfetto/base/string_view.h", |
| 560 | "include/perfetto/base/string_writer.h", |
| 561 | "include/perfetto/base/task_runner.h", |
| 562 | "include/perfetto/base/temp_file.h", |
| 563 | "include/perfetto/base/thread_checker.h", |
| 564 | "include/perfetto/base/thread_task_runner.h", |
| 565 | "include/perfetto/base/thread_utils.h", |
| 566 | "include/perfetto/base/time.h", |
| 567 | "include/perfetto/base/unix_socket.h", |
| 568 | "include/perfetto/base/unix_task_runner.h", |
| 569 | "include/perfetto/base/utils.h", |
| 570 | "include/perfetto/base/watchdog.h", |
| 571 | "include/perfetto/base/watchdog_noop.h", |
| 572 | "include/perfetto/base/watchdog_posix.h", |
| 573 | "include/perfetto/base/weak_ptr.h", |
| 574 | "include/perfetto/protozero/contiguous_memory_range.h", |
| 575 | "include/perfetto/protozero/field.h", |
| 576 | "include/perfetto/protozero/message.h", |
| 577 | "include/perfetto/protozero/message_handle.h", |
| 578 | "include/perfetto/protozero/proto_decoder.h", |
| 579 | "include/perfetto/protozero/proto_utils.h", |
| 580 | "include/perfetto/protozero/scattered_heap_buffer.h", |
| 581 | "include/perfetto/protozero/scattered_stream_null_delegate.h", |
| 582 | "include/perfetto/protozero/scattered_stream_writer.h", |
| 583 | "include/perfetto/trace_processor/basic_types.h", |
| 584 | "include/perfetto/trace_processor/trace_processor.h", |
| 585 | "include/perfetto/traced/sys_stats_counters.h", |
| 586 | "src/base/event.cc", |
| 587 | "src/base/file_utils.cc", |
| 588 | "src/base/metatrace.cc", |
| 589 | "src/base/paged_memory.cc", |
| 590 | "src/base/pipe.cc", |
| 591 | "src/base/string_splitter.cc", |
| 592 | "src/base/string_utils.cc", |
| 593 | "src/base/string_view.cc", |
| 594 | "src/base/temp_file.cc", |
| 595 | "src/base/thread_checker.cc", |
| 596 | "src/base/thread_task_runner.cc", |
| 597 | "src/base/time.cc", |
| 598 | "src/base/unix_task_runner.cc", |
| 599 | "src/base/virtual_destructors.cc", |
| 600 | "src/base/watchdog_posix.cc", |
| 601 | "src/protozero/message.cc", |
| 602 | "src/protozero/message_handle.cc", |
| 603 | "src/protozero/proto_decoder.cc", |
| 604 | "src/protozero/scattered_heap_buffer.cc", |
| 605 | "src/protozero/scattered_stream_null_delegate.cc", |
| 606 | "src/protozero/scattered_stream_writer.cc", |
| 607 | "src/trace_processor/android_logs_table.cc", |
| 608 | "src/trace_processor/android_logs_table.h", |
| 609 | "src/trace_processor/args_table.cc", |
| 610 | "src/trace_processor/args_table.h", |
| 611 | "src/trace_processor/args_tracker.cc", |
| 612 | "src/trace_processor/args_tracker.h", |
| 613 | "src/trace_processor/chunked_trace_reader.h", |
| 614 | "src/trace_processor/clock_tracker.cc", |
| 615 | "src/trace_processor/clock_tracker.h", |
| 616 | "src/trace_processor/counter_definitions_table.cc", |
| 617 | "src/trace_processor/counter_definitions_table.h", |
| 618 | "src/trace_processor/counter_values_table.cc", |
| 619 | "src/trace_processor/counter_values_table.h", |
| 620 | "src/trace_processor/event_tracker.cc", |
| 621 | "src/trace_processor/event_tracker.h", |
| 622 | "src/trace_processor/filtered_row_index.cc", |
| 623 | "src/trace_processor/filtered_row_index.h", |
| 624 | "src/trace_processor/ftrace_descriptors.cc", |
| 625 | "src/trace_processor/ftrace_descriptors.h", |
| 626 | "src/trace_processor/ftrace_utils.cc", |
| 627 | "src/trace_processor/ftrace_utils.h", |
Brian Hamrick | d57e133 | 2019-04-24 11:25:36 -0700 | [diff] [blame] | 628 | "src/trace_processor/fuchsia_provider_view.cc", |
| 629 | "src/trace_processor/fuchsia_provider_view.h", |
| 630 | "src/trace_processor/fuchsia_trace_parser.cc", |
| 631 | "src/trace_processor/fuchsia_trace_parser.h", |
| 632 | "src/trace_processor/fuchsia_trace_tokenizer.cc", |
| 633 | "src/trace_processor/fuchsia_trace_tokenizer.h", |
| 634 | "src/trace_processor/fuchsia_trace_utils.cc", |
| 635 | "src/trace_processor/fuchsia_trace_utils.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 636 | "src/trace_processor/instants_table.cc", |
| 637 | "src/trace_processor/instants_table.h", |
| 638 | "src/trace_processor/json_trace_parser.cc", |
| 639 | "src/trace_processor/json_trace_parser.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 640 | "src/trace_processor/json_trace_tokenizer.cc", |
| 641 | "src/trace_processor/json_trace_tokenizer.h", |
| 642 | "src/trace_processor/json_trace_utils.cc", |
| 643 | "src/trace_processor/json_trace_utils.h", |
Lalit Maganti | 622676a | 2019-04-30 14:15:37 +0100 | [diff] [blame] | 644 | "src/trace_processor/metrics/metrics.cc", |
| 645 | "src/trace_processor/metrics/metrics.h", |
Lalit Maganti | 697cc48 | 2019-05-01 14:39:11 +0100 | [diff] [blame] | 646 | "src/trace_processor/metrics/sql_metrics.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 647 | "src/trace_processor/null_term_string_view.h", |
| 648 | "src/trace_processor/process_table.cc", |
| 649 | "src/trace_processor/process_table.h", |
| 650 | "src/trace_processor/process_tracker.cc", |
| 651 | "src/trace_processor/process_tracker.h", |
Lalit Maganti | c50e142 | 2019-04-29 14:23:25 +0100 | [diff] [blame] | 652 | "src/trace_processor/proto_incremental_state.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 653 | "src/trace_processor/proto_trace_parser.cc", |
| 654 | "src/trace_processor/proto_trace_parser.h", |
| 655 | "src/trace_processor/proto_trace_tokenizer.cc", |
| 656 | "src/trace_processor/proto_trace_tokenizer.h", |
| 657 | "src/trace_processor/query_constraints.cc", |
| 658 | "src/trace_processor/query_constraints.h", |
| 659 | "src/trace_processor/raw_table.cc", |
| 660 | "src/trace_processor/raw_table.h", |
| 661 | "src/trace_processor/row_iterators.cc", |
| 662 | "src/trace_processor/row_iterators.h", |
| 663 | "src/trace_processor/sched_slice_table.cc", |
| 664 | "src/trace_processor/sched_slice_table.h", |
| 665 | "src/trace_processor/scoped_db.h", |
| 666 | "src/trace_processor/slice_table.cc", |
| 667 | "src/trace_processor/slice_table.h", |
| 668 | "src/trace_processor/slice_tracker.cc", |
| 669 | "src/trace_processor/slice_tracker.h", |
| 670 | "src/trace_processor/span_join_operator_table.cc", |
| 671 | "src/trace_processor/span_join_operator_table.h", |
| 672 | "src/trace_processor/sql_stats_table.cc", |
| 673 | "src/trace_processor/sql_stats_table.h", |
| 674 | "src/trace_processor/sqlite3_str_split.cc", |
| 675 | "src/trace_processor/sqlite3_str_split.h", |
| 676 | "src/trace_processor/sqlite_utils.h", |
| 677 | "src/trace_processor/stats.h", |
| 678 | "src/trace_processor/stats_table.cc", |
| 679 | "src/trace_processor/stats_table.h", |
| 680 | "src/trace_processor/storage_columns.cc", |
| 681 | "src/trace_processor/storage_columns.h", |
| 682 | "src/trace_processor/storage_schema.cc", |
| 683 | "src/trace_processor/storage_schema.h", |
| 684 | "src/trace_processor/storage_table.cc", |
| 685 | "src/trace_processor/storage_table.h", |
| 686 | "src/trace_processor/string_pool.cc", |
| 687 | "src/trace_processor/string_pool.h", |
| 688 | "src/trace_processor/string_table.cc", |
| 689 | "src/trace_processor/string_table.h", |
| 690 | "src/trace_processor/syscall_tracker.cc", |
| 691 | "src/trace_processor/syscall_tracker.h", |
Lalit Maganti | 5e60c65 | 2019-04-15 19:55:07 +0100 | [diff] [blame] | 692 | "src/trace_processor/syscalls_aarch32.h", |
| 693 | "src/trace_processor/syscalls_aarch64.h", |
| 694 | "src/trace_processor/syscalls_armeabi.h", |
| 695 | "src/trace_processor/syscalls_x86_64.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 696 | "src/trace_processor/table.cc", |
| 697 | "src/trace_processor/table.h", |
| 698 | "src/trace_processor/thread_table.cc", |
| 699 | "src/trace_processor/thread_table.h", |
| 700 | "src/trace_processor/trace_blob_view.h", |
Deepanjan Roy | 01994ca | 2019-04-02 11:05:34 -0700 | [diff] [blame] | 701 | "src/trace_processor/trace_parser.h", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 702 | "src/trace_processor/trace_processor.cc", |
| 703 | "src/trace_processor/trace_processor_context.cc", |
| 704 | "src/trace_processor/trace_processor_context.h", |
| 705 | "src/trace_processor/trace_processor_impl.cc", |
| 706 | "src/trace_processor/trace_processor_impl.h", |
| 707 | "src/trace_processor/trace_sorter.cc", |
| 708 | "src/trace_processor/trace_sorter.h", |
| 709 | "src/trace_processor/trace_storage.cc", |
| 710 | "src/trace_processor/trace_storage.h", |
| 711 | "src/trace_processor/virtual_destructors.cc", |
| 712 | "src/trace_processor/window_operator_table.cc", |
| 713 | "src/trace_processor/window_operator_table.h", |
| 714 | "tools/trace_to_text/main.cc", |
| 715 | "tools/trace_to_text/proto_full_utils.cc", |
| 716 | "tools/trace_to_text/proto_full_utils.h", |
| 717 | "tools/trace_to_text/trace_to_profile.cc", |
| 718 | "tools/trace_to_text/trace_to_profile.h", |
| 719 | "tools/trace_to_text/trace_to_systrace.cc", |
| 720 | "tools/trace_to_text/trace_to_systrace.h", |
| 721 | "tools/trace_to_text/trace_to_text.cc", |
| 722 | "tools/trace_to_text/trace_to_text.h", |
| 723 | "tools/trace_to_text/utils.cc", |
| 724 | "tools/trace_to_text/utils.h", |
| 725 | ], |
| 726 | deps = [ |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 727 | "//third_party/perfetto:gen_merged_sql_metrics", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 728 | "//third_party/perfetto/google:gtest_prod", |
| 729 | "//third_party/perfetto/google:jsoncpp", |
| 730 | "//third_party/perfetto/google:perfetto_version", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 731 | "//third_party/perfetto/protos:common_cc_proto", |
| 732 | "//third_party/perfetto/protos:common_zero_cc_proto", |
| 733 | "//third_party/perfetto/protos:config_cc_proto", |
| 734 | "//third_party/perfetto/protos:config_zero_cc_proto", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 735 | "//third_party/perfetto/protos:metrics_android_zero_cc_proto", |
| 736 | "//third_party/perfetto/protos:metrics_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 737 | "//third_party/perfetto/protos:protos_third_party_pprof_cc_proto", |
| 738 | "//third_party/perfetto/protos:trace_android_cc_proto", |
| 739 | "//third_party/perfetto/protos:trace_android_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 740 | "//third_party/perfetto/protos:trace_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 741 | "//third_party/perfetto/protos:trace_chrome_cc_proto", |
| 742 | "//third_party/perfetto/protos:trace_chrome_zero_cc_proto", |
| 743 | "//third_party/perfetto/protos:trace_filesystem_cc_proto", |
| 744 | "//third_party/perfetto/protos:trace_filesystem_zero_cc_proto", |
| 745 | "//third_party/perfetto/protos:trace_ftrace_cc_proto", |
| 746 | "//third_party/perfetto/protos:trace_ftrace_zero_cc_proto", |
| 747 | "//third_party/perfetto/protos:trace_interned_data_cc_proto", |
| 748 | "//third_party/perfetto/protos:trace_interned_data_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 749 | "//third_party/perfetto/protos:trace_minimal_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 750 | "//third_party/perfetto/protos:trace_power_cc_proto", |
| 751 | "//third_party/perfetto/protos:trace_power_zero_cc_proto", |
Lalit Maganti | 98465e1 | 2019-04-04 14:08:40 +0100 | [diff] [blame] | 752 | "//third_party/perfetto/protos:trace_profiling_cc_proto", |
| 753 | "//third_party/perfetto/protos:trace_profiling_zero_cc_proto", |
| 754 | "//third_party/perfetto/protos:trace_ps_cc_proto", |
| 755 | "//third_party/perfetto/protos:trace_ps_zero_cc_proto", |
| 756 | "//third_party/perfetto/protos:trace_sys_stats_cc_proto", |
| 757 | "//third_party/perfetto/protos:trace_sys_stats_zero_cc_proto", |
| 758 | "//third_party/perfetto/protos:trace_track_event_cc_proto", |
| 759 | "//third_party/perfetto/protos:trace_track_event_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 760 | "//third_party/perfetto/protos:trace_zero_cc_proto", |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 761 | "//third_party/protobuf", |
| 762 | "//third_party/protobuf:libprotoc", |
| 763 | "//third_party/sqlite", |
| 764 | "//third_party/sqlite:sqlite_ext_percentile", |
| 765 | ], |
| 766 | ) |
| 767 | |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 768 | gensignature( |
| 769 | name = "trace_processor_shell_sig", |
| 770 | srcs = [ |
| 771 | ":trace_processor_shell", |
| 772 | ], |
| 773 | ) |
| 774 | |
Lalit Maganti | 279ecde | 2019-04-01 16:57:12 +0100 | [diff] [blame] | 775 | gensignature( |
| 776 | name = "trace_to_text_sig", |
| 777 | srcs = [ |
| 778 | ":trace_to_text", |
| 779 | ], |
| 780 | ) |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 781 | |
| 782 | py_binary( |
Lalit Maganti | caac992 | 2019-05-01 10:40:53 +0100 | [diff] [blame] | 783 | name = "gen_merged_sql_metrics_py", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 784 | srcs = [ |
Lalit Maganti | ab619fa | 2019-05-02 12:56:37 +0100 | [diff] [blame^] | 785 | "tools/gen_merged_sql_metrics.py", |
| 786 | ], |
| 787 | main = "tools/gen_merged_sql_metrics.py", |
Lalit Maganti | 26f69bd | 2019-04-29 18:23:47 +0100 | [diff] [blame] | 788 | ) |