Bump to WebRTC M131 release
Ongoing fixes and improvements, transient suppressor is gone. Also, dropping isac because it doesn't seem to be useful, and is just build system deadweight now. Upstream references: Version: 131.0.6778.200 WebRTC: 79aff54b0fa9238ce3518dd9eaf9610cd6f22e82 Chromium: 2a19506ad24af755f2a215a4c61f775393e0db42
This commit is contained in:
@ -8,6 +8,9 @@
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#ifndef RTC_BASE_EVENT_TRACER_H_
|
||||
#define RTC_BASE_EVENT_TRACER_H_
|
||||
|
||||
// This file defines the interface for event tracing in WebRTC.
|
||||
//
|
||||
// Event log handlers are set through SetupEventTracer(). User of this API will
|
||||
@ -23,9 +26,6 @@
|
||||
//
|
||||
// Parameters for the above two functions are described in trace_event.h.
|
||||
|
||||
#ifndef RTC_BASE_EVENT_TRACER_H_
|
||||
#define RTC_BASE_EVENT_TRACER_H_
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
@ -33,6 +33,9 @@
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
#if defined(RTC_USE_PERFETTO)
|
||||
void RegisterPerfettoTrackEvents();
|
||||
#else
|
||||
typedef const unsigned char* (*GetCategoryEnabledPtr)(const char* name);
|
||||
typedef void (*AddTraceEventPtr)(char phase,
|
||||
const unsigned char* category_enabled,
|
||||
@ -67,19 +70,19 @@ class EventTracer {
|
||||
const unsigned long long* arg_values,
|
||||
unsigned char flags);
|
||||
};
|
||||
#endif
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
namespace rtc {
|
||||
namespace tracing {
|
||||
namespace rtc::tracing {
|
||||
// Set up internal event tracer.
|
||||
// TODO(webrtc:15917): Implement for perfetto.
|
||||
RTC_EXPORT void SetupInternalTracer(bool enable_all_categories = true);
|
||||
RTC_EXPORT bool StartInternalCapture(absl::string_view filename);
|
||||
RTC_EXPORT void StartInternalCaptureToFile(FILE* file);
|
||||
RTC_EXPORT void StopInternalCapture();
|
||||
// Make sure we run this, this will tear down the internal tracing.
|
||||
RTC_EXPORT void ShutdownInternalTracer();
|
||||
} // namespace tracing
|
||||
} // namespace rtc
|
||||
} // namespace rtc::tracing
|
||||
|
||||
#endif // RTC_BASE_EVENT_TRACER_H_
|
||||
|
Reference in New Issue
Block a user