proxygen
TraceEventContext.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015-present, Facebook, Inc.
3  * All rights reserved.
4  *
5  * This source code is licensed under the BSD-style license found in the
6  * LICENSE file in the root directory of this source tree. An additional grant
7  * of patent rights can be found in the PATENTS file in the same directory.
8  *
9  */
10 
13 
14 namespace proxygen {
15 
17  for (const auto observer : observers_) {
18  observer->traceEventAvailable(event);
19  }
20 }
21 
23  return allTraceEventNeeded_;
24 }
25 
26 }
void traceEventAvailable(TraceEvent event)
std::vector< TraceEventObserver * > observers_