blob: b6da14a47b8b0f92be24044838e9328a6cf3926d [file] [log] [blame]
tommi@webrtc.org7c64ed22015-03-17 14:25:37 +00001/*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11// This file defines the interface for event tracing in WebRTC.
12//
13// Event log handlers are set through SetupEventTracer(). User of this API will
14// provide two function pointers to handle event tracing calls.
15//
16// * GetCategoryEnabledPtr
17// Event tracing system calls this function to determine if a particular
18// event category is enabled.
19//
20// * AddTraceEventPtr
21// Adds a tracing event. It is the user's responsibility to log the data
22// provided.
23//
24// Parameters for the above two functions are described in trace_event.h.
25
26#ifndef WEBRTC_BASE_EVENT_TRACER_H_
27#define WEBRTC_BASE_EVENT_TRACER_H_
28
Peter Boström6f28cf02015-12-07 23:17:15 +010029
Henrik Kjellander67765182017-06-28 20:58:07 +020030// This header is deprecated and is just left here temporarily during
31// refactoring. See https://bugs.webrtc.org/7634 for more details.
32#include "webrtc/rtc_base/event_tracer.h"
Peter Boström6f28cf02015-12-07 23:17:15 +010033
tommi@webrtc.org7c64ed22015-03-17 14:25:37 +000034#endif // WEBRTC_BASE_EVENT_TRACER_H_