/*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
*/
#include <folly/io/async/Request.h>
+#include <folly/tracing/StaticTracepoint.h>
#include <glog/logging.h>
std::shared_ptr<RequestContext> ctx) {
auto& curCtx = getStaticContext();
if (ctx != curCtx) {
+ FOLLY_SDT(folly, request_context_switch_before, curCtx.get(), ctx.get());
using std::swap;
if (curCtx) {
curCtx->onUnset();