Evan Shrubsole
db50b03553
Add perfetto build config
...
This adds Perfetto support to WebRTC with a GN flag rtc_use_perfetto.
The configuration of perfetto depends on whether or not webrtc is
build within Chrome or not. When in Chrome, WebRTC will depend on
//third_party/perfetto:libperfetto. When building standalone, specific includes required for Perfetto are exposed with the library webrtc_libperfetto.
The perfetto trace API is exposed with a header export in
trace_event.h which is used instead of the legacy API.
The addition of Perfetto means there are 4 compilation modes for
tracing in WebRTC,
1. No tracing implementation.
2. Legacy tracing (AddTraceEvent/GetCategoryEnabled).
3.a. Perfetto statically linked (webrtc_libperfetto).
3.b. Perfetto in Chrome (Chrome's libperfetto).
This CL removes the tracing expectations from
rtc_stats_integrationtest.cc because those directly used the old API.
Integration into Chrome is a follow up CL which depends on
https://chromium-review.googlesource.com/c/chromium/src/+/5471691 .
Tested: Ran Chrome with Perfetto and traces appear. WebRTC Unit test tracing working: https://ui.perfetto.dev/#!?s=04ea2613ea36b814394639a1ec4b60be5b5097527f1a485995ecc13469885468
Bug: webrtc:15917
Change-Id: I537d79dc247c2b759689910c621087286a4d8fdc
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/347880
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Auto-Submit: Evan Shrubsole <eshr@google.com>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Mikhail Khokhlov <khokhlov@google.com>
Cr-Commit-Position: refs/heads/main@{#42166}
2024-04-24 20:53:23 +00:00
..
2022-10-31 15:43:16 +00:00
2022-09-05 10:14:50 +00:00
2024-04-16 15:46:33 +00:00
2024-04-23 10:50:21 +00:00
2024-03-12 11:12:56 +00:00
2024-04-18 13:06:36 +00:00
2023-11-15 12:10:28 +00:00
2023-10-23 14:43:04 +00:00
2024-02-15 07:35:00 +00:00
2024-02-28 10:22:49 +00:00
2023-07-12 07:31:06 +00:00
2023-04-21 06:17:42 +00:00
2023-04-21 06:17:42 +00:00
2023-09-04 08:34:30 +00:00
2023-09-04 08:34:30 +00:00
2023-10-10 08:46:15 +00:00
2024-02-23 08:12:28 +00:00
2023-12-14 14:31:06 +00:00
2024-03-15 08:58:28 +00:00
2023-11-28 07:54:53 +00:00
2023-11-28 07:54:53 +00:00
2024-04-23 08:25:03 +00:00
2024-01-10 09:52:57 +00:00
2023-03-02 12:02:07 +00:00
2023-03-02 12:02:07 +00:00
2023-03-02 12:02:07 +00:00
2023-07-21 14:15:22 +00:00
2023-07-21 14:15:22 +00:00
2023-07-21 14:15:22 +00:00
2023-03-02 12:02:07 +00:00
2023-03-02 12:02:07 +00:00
2024-01-03 10:48:51 +00:00
2022-03-17 15:39:26 +00:00
2022-03-17 15:39:26 +00:00
2022-03-17 15:39:26 +00:00
2022-03-17 15:39:26 +00:00
2022-04-04 12:30:56 +00:00
2022-08-18 08:53:06 +00:00
2024-04-24 20:53:23 +00:00
2024-01-16 09:10:09 +00:00
2024-01-16 09:10:09 +00:00
2024-01-16 09:10:09 +00:00
2022-12-05 09:56:00 +00:00
2023-04-21 06:17:42 +00:00
2022-04-11 08:42:46 +00:00
2022-04-11 08:56:51 +00:00
2022-08-01 18:04:04 +00:00
2023-04-21 06:17:42 +00:00
2023-11-24 18:37:34 +00:00
2023-07-06 10:21:30 +00:00
2023-11-24 18:37:34 +00:00
2023-01-16 23:06:21 +00:00
2022-03-17 15:39:26 +00:00
2024-04-24 20:53:23 +00:00
2024-04-24 20:53:23 +00:00
2024-04-24 20:53:23 +00:00
2024-04-24 20:53:23 +00:00
2022-10-24 11:10:26 +00:00
2022-08-19 07:11:06 +00:00
2022-10-24 11:10:26 +00:00
2022-09-09 10:44:17 +00:00
2023-04-25 14:59:55 +00:00
2022-03-17 15:39:26 +00:00
2022-03-17 15:39:26 +00:00
2022-04-17 12:11:56 +00:00
2022-07-23 00:18:31 +00:00
2022-03-17 15:39:26 +00:00
2022-08-25 13:01:34 +00:00
2022-08-25 13:01:34 +00:00
2023-07-21 14:15:22 +00:00
2023-07-21 14:15:22 +00:00
2023-07-21 14:15:22 +00:00
2024-01-16 08:30:37 +00:00
2023-06-15 15:26:48 +00:00
2023-06-15 15:26:48 +00:00
2023-06-15 15:26:48 +00:00
2022-02-16 12:37:35 +00:00
2023-10-16 14:04:28 +00:00
2023-04-21 06:17:42 +00:00
2024-02-05 12:21:44 +00:00
2022-05-02 08:15:05 +00:00
2022-05-02 08:15:05 +00:00
2022-09-30 12:01:28 +00:00
2023-04-21 06:17:42 +00:00
2023-07-31 06:34:54 +00:00
2022-03-17 15:39:26 +00:00
2022-11-16 09:51:42 +00:00
2022-11-16 09:51:42 +00:00
2023-01-20 00:06:50 +00:00
2022-04-04 12:30:56 +00:00
2022-04-04 12:30:56 +00:00
2022-03-17 15:39:26 +00:00
2024-01-30 16:15:04 +00:00
2023-12-13 09:40:59 +00:00
2024-01-30 16:15:04 +00:00
2024-01-30 16:15:04 +00:00
2024-01-30 16:15:04 +00:00
2022-03-17 15:39:26 +00:00
2023-01-20 18:29:08 +00:00
2023-07-31 07:51:19 +00:00
2023-08-02 11:39:30 +00:00
2023-07-31 07:51:19 +00:00
2023-07-31 07:51:19 +00:00
2022-03-29 10:14:00 +00:00
2022-05-31 10:49:55 +00:00
2023-04-21 06:17:42 +00:00
2023-08-07 07:49:55 +00:00
2023-05-09 10:01:36 +00:00
2023-04-25 14:59:55 +00:00
2022-09-05 10:14:50 +00:00
2022-08-25 13:01:34 +00:00
2022-08-25 13:01:34 +00:00
2023-11-15 12:10:28 +00:00
2023-11-15 12:10:28 +00:00
2023-11-15 12:10:28 +00:00
2022-03-25 08:11:17 +00:00
2022-03-25 08:11:17 +00:00
2022-03-17 15:39:26 +00:00
2022-03-17 15:39:26 +00:00
2022-03-25 08:11:17 +00:00
2022-03-25 08:11:17 +00:00
2022-03-17 15:39:26 +00:00
2022-03-17 15:39:26 +00:00
2022-03-17 15:39:26 +00:00
2022-03-17 15:39:26 +00:00
2024-04-23 02:33:12 +00:00
2024-03-29 21:54:54 +00:00
2023-04-21 06:17:42 +00:00
2022-03-17 15:39:26 +00:00
2022-03-17 15:39:26 +00:00
2022-08-19 10:07:28 +00:00
2022-06-15 09:47:38 +00:00
2024-04-23 08:25:03 +00:00
2024-04-23 08:25:03 +00:00
2024-04-23 08:25:03 +00:00
2022-11-24 09:56:39 +00:00
2022-08-19 10:07:28 +00:00
2023-03-13 13:06:56 +00:00
2023-06-26 08:17:20 +00:00
2024-02-01 14:43:30 +00:00
2024-02-01 14:43:30 +00:00
2022-05-05 17:15:58 +00:00
2023-11-20 18:18:04 +00:00
2023-10-11 10:34:17 +00:00
2023-10-11 10:34:17 +00:00
2023-04-21 06:17:42 +00:00
2023-10-31 14:02:50 +00:00
2022-06-15 09:47:38 +00:00
2022-06-15 09:47:38 +00:00
2022-08-22 16:53:14 +00:00
2022-09-21 15:15:30 +00:00
2022-08-22 16:53:14 +00:00
2022-06-15 09:47:38 +00:00
2022-03-17 15:39:26 +00:00
2024-02-01 14:43:30 +00:00
2024-02-01 14:43:30 +00:00
2022-08-02 10:17:38 +00:00
2024-03-29 22:37:35 +00:00
2024-03-26 10:25:42 +00:00
2023-01-19 18:26:50 +00:00
2023-01-19 18:26:50 +00:00
2023-01-19 18:26:50 +00:00
2022-08-25 13:01:34 +00:00
2024-03-13 04:36:58 +00:00
2024-03-12 11:12:56 +00:00
2024-01-10 09:52:57 +00:00
2024-03-13 04:36:58 +00:00
2024-04-23 02:33:12 +00:00
2022-04-17 12:11:56 +00:00
2022-09-26 13:55:40 +00:00
2022-09-26 13:55:40 +00:00
2022-04-04 12:30:56 +00:00
2022-03-17 15:39:26 +00:00
2022-03-17 15:39:26 +00:00
2022-07-23 00:18:31 +00:00
2022-03-17 15:39:26 +00:00
2023-05-10 13:37:34 +00:00
2024-04-23 02:33:12 +00:00
2023-09-05 08:50:11 +00:00
2023-10-06 12:25:37 +00:00
2022-11-10 12:40:20 +00:00
2024-04-23 02:33:12 +00:00
2022-06-09 08:29:33 +00:00
2022-06-09 08:29:33 +00:00
2022-06-09 08:29:33 +00:00
2022-04-08 11:04:34 +00:00
2022-07-23 00:18:31 +00:00
2022-03-25 14:32:05 +00:00
2022-03-17 12:53:14 +00:00
2022-03-25 08:12:36 +00:00
2022-05-30 13:05:03 +00:00
2023-04-21 06:17:42 +00:00
2022-10-25 17:38:01 +00:00
2022-10-08 08:38:36 +00:00
2024-01-19 15:28:49 +00:00
2024-01-19 15:28:49 +00:00
2023-02-27 13:17:38 +00:00
2023-02-27 13:17:38 +00:00
2022-12-19 10:41:03 +00:00
2023-02-27 13:17:38 +00:00
2024-01-19 15:28:49 +00:00
2023-02-27 13:17:38 +00:00
2023-07-31 07:51:19 +00:00
2023-11-17 11:26:53 +00:00
2023-11-17 11:26:53 +00:00
2023-11-23 10:40:56 +00:00
2023-12-14 14:31:06 +00:00
2023-02-27 13:17:38 +00:00
2023-03-01 15:46:49 +00:00
2023-01-12 14:21:03 +00:00
2023-06-27 14:15:09 +00:00
2023-01-12 14:21:03 +00:00
2023-03-06 15:47:51 +00:00
2023-03-06 15:47:51 +00:00
2024-04-24 20:53:23 +00:00
2024-04-24 20:53:23 +00:00
2024-04-24 20:53:23 +00:00
2023-03-01 11:11:37 +00:00
2022-03-17 15:39:26 +00:00
2023-03-24 07:44:18 +00:00
2023-11-30 15:36:55 +00:00
2022-09-16 14:13:41 +00:00
2023-12-14 14:31:06 +00:00
2022-08-11 12:55:32 +00:00
2024-04-24 10:28:02 +00:00
2024-04-24 10:28:02 +00:00
2023-06-27 14:15:09 +00:00