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
..
2023-06-09 14:14:12 +00:00
2022-04-20 13:18:33 +00:00
2024-04-22 08:56:31 +00:00
2023-11-13 13:23:04 +00:00
2023-11-13 13:23:04 +00:00
2023-11-13 13:23:04 +00:00
2022-06-15 09:47:38 +00:00
2023-11-13 13:23:04 +00:00
2024-04-22 08:56:31 +00:00
2023-06-29 09:32:04 +00:00
2024-02-27 15:55:02 +00:00
2023-11-30 14:06:01 +00:00
2023-10-30 14:43:46 +00:00
2023-12-06 18:01:06 +00:00
2023-12-06 18:01:06 +00:00
2024-03-21 19:59:39 +00:00
2024-03-21 19:59:39 +00:00
2024-03-21 19:59:39 +00:00
2024-03-27 11:09:05 +00:00
2024-03-22 09:25:11 +00:00
2023-05-03 11:09:26 +00:00
2023-03-12 17:28:14 +00:00
2023-09-05 11:37:32 +00:00
2023-08-22 13:48:09 +00:00
2024-02-08 14:34:04 +00:00
2022-06-15 09:47:38 +00:00
2023-12-14 21:01:04 +00:00
2023-12-14 21:01:04 +00:00
2022-08-03 14:16:35 +00:00
2022-09-09 10:44:17 +00:00
2022-09-09 10:44:17 +00:00
2022-03-10 18:36:43 +00:00
2023-11-13 13:23:04 +00:00
2023-04-21 11:19:37 +00:00
2022-10-12 11:23:22 +00:00
2023-11-13 13:23:04 +00:00
2022-03-10 18:36:43 +00:00
2022-02-24 11:05:06 +00:00
2023-03-24 07:44:18 +00:00
2023-03-24 07:44:18 +00:00
2022-02-24 11:05:06 +00:00
2024-03-08 20:39:59 +00:00
2024-01-22 18:27:38 +00:00
2022-05-04 11:57:50 +00:00
2023-03-24 07:44:18 +00:00
2024-03-08 09:45:12 +00:00
2024-04-22 12:29:56 +00:00
2024-03-08 09:45:12 +00:00
2024-02-27 15:55:02 +00:00
2024-04-03 10:13:33 +00:00
2024-02-08 14:34:04 +00:00
2022-11-14 12:10:06 +00:00
2024-04-20 07:02:50 +00:00
2024-04-20 07:02:50 +00:00
2024-01-19 15:37:32 +00:00
2022-06-15 09:47:38 +00:00
2023-12-04 14:42:44 +00:00
2022-05-30 13:05:03 +00:00
2024-02-08 14:34:04 +00:00
2024-02-29 08:02:26 +00:00
2024-02-08 14:34:04 +00:00
2022-04-20 13:18:33 +00:00
2022-04-20 13:18:33 +00:00
2022-04-21 12:32:17 +00:00
2022-02-15 21:55:59 +00:00
2023-11-13 13:23:04 +00:00
2022-06-15 09:47:38 +00:00
2022-04-21 12:32:17 +00:00
2023-01-30 20:09:07 +00:00
2023-03-22 09:10:27 +00:00
2024-04-22 08:56:31 +00:00
2024-04-22 08:56:31 +00:00
2023-11-03 12:32:14 +00:00
2024-04-05 14:02:59 +00:00
2024-01-03 12:03:11 +00:00
2023-11-13 13:23:04 +00:00
2024-04-22 08:56:31 +00:00
2024-04-19 08:05:25 +00:00
2024-01-08 13:54:56 +00:00
2024-03-19 10:25:18 +00:00
2023-12-07 21:46:56 +00:00
2023-12-05 15:44:43 +00:00
2024-04-22 08:56:31 +00:00
2024-02-02 17:02:29 +00:00
2024-04-22 08:56:31 +00:00
2024-04-22 08:56:31 +00:00
2024-04-22 08:56:31 +00:00
2024-02-29 12:43:05 +00:00
2022-11-11 10:29:25 +00:00
2022-11-11 10:29:25 +00:00
2024-02-07 14:10:02 +00:00
2024-04-22 08:56:31 +00:00
2024-04-22 08:56:31 +00:00
2024-04-22 08:56:31 +00:00
2024-04-22 08:56:31 +00:00
2024-02-26 10:52:23 +00:00
2023-11-13 13:23:04 +00:00
2023-02-10 12:24:47 +00:00
2024-03-08 09:45:12 +00:00
2024-02-07 14:10:02 +00:00
2022-06-15 09:47:38 +00:00
2024-03-18 09:57:36 +00:00
2022-12-14 11:00:17 +00:00
2022-12-14 11:00:17 +00:00
2024-04-22 08:56:31 +00:00
2024-04-23 09:56:33 +00:00
2024-04-22 08:56:31 +00:00
2024-04-24 20:53:23 +00:00
2023-11-13 13:23:04 +00:00
2024-01-25 21:56:08 +00:00
2022-03-10 18:36:43 +00:00
2023-06-15 15:53:29 +00:00
2023-06-15 15:53:29 +00:00
2023-06-15 15:53:29 +00:00
2024-01-25 12:29:42 +00:00
2023-01-05 09:04:12 +00:00
2023-08-30 14:54:17 +00:00
2024-04-09 11:53:18 +00:00
2024-02-26 10:52:23 +00:00
2024-02-26 10:52:23 +00:00
2024-01-26 06:08:28 +00:00
2024-02-29 12:43:05 +00:00
2023-11-13 13:23:04 +00:00
2023-01-19 15:49:04 +00:00
2023-08-28 12:36:39 +00:00
2023-11-13 13:23:04 +00:00
2024-03-15 08:58:28 +00:00
2024-03-15 08:58:28 +00:00
2024-03-15 08:58:28 +00:00
2024-03-25 18:36:09 +00:00
2024-03-22 09:25:11 +00:00
2024-04-03 10:13:33 +00:00
2024-04-03 10:13:33 +00:00
2024-04-03 10:13:33 +00:00
2024-03-12 10:57:56 +00:00
2023-11-22 11:46:25 +00:00
2024-03-12 10:57:56 +00:00
2024-04-22 08:56:31 +00:00
2024-04-24 17:40:19 +00:00
2023-11-13 13:23:04 +00:00
2022-02-24 11:05:06 +00:00
2022-02-24 11:05:06 +00:00
2023-05-03 11:09:26 +00:00
2024-02-08 14:34:04 +00:00
2023-09-18 10:09:02 +00:00
2023-09-18 10:09:02 +00:00
2023-09-18 10:09:02 +00:00
2023-11-23 10:40:56 +00:00
2023-11-08 10:24:10 +00:00
2023-11-08 10:24:10 +00:00
2023-11-08 10:24:10 +00:00
2023-11-13 13:23:04 +00:00
2024-03-15 08:58:28 +00:00
2024-02-27 17:46:18 +00:00
2022-04-20 13:18:33 +00:00
2023-05-24 12:26:56 +00:00
2023-05-24 12:26:56 +00:00
2023-05-24 12:26:56 +00:00
2022-05-02 18:07:24 +00:00
2022-05-02 18:07:24 +00:00
2023-10-06 12:25:37 +00:00
2024-02-08 12:52:58 +00:00
2024-02-08 12:52:58 +00:00
2023-11-13 13:23:04 +00:00
2023-09-01 08:12:55 +00:00
2023-01-10 06:44:27 +00:00
2023-11-13 13:23:04 +00:00
2023-03-24 07:44:18 +00:00
2023-03-24 07:44:18 +00:00
2022-03-18 16:17:24 +00:00
2023-11-13 13:23:04 +00:00
2023-03-24 07:44:18 +00:00
2023-03-24 07:44:18 +00:00
2022-06-15 09:47:38 +00:00
2022-09-09 10:44:17 +00:00
2023-11-13 13:23:04 +00:00
2024-03-08 20:39:59 +00:00
2024-03-08 20:39:59 +00:00
2024-01-03 12:03:11 +00:00
2024-02-08 14:34:04 +00:00
2024-02-08 14:34:04 +00:00