Add optional Tracepoint for RequestContext switch
authorTeng Qin <qinteng@fb.com>
Wed, 30 Nov 2016 19:07:23 +0000 (11:07 -0800)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Wed, 30 Nov 2016 19:08:38 +0000 (11:08 -0800)
commitea2094274b9d14757595a0677565b011e2b2573d
tree7aae9a348d9c666d2ef2db0795c9035103a0913d
parentf972b1ee32509823b2331c9bdecac14949e7e740
Add optional Tracepoint for RequestContext switch

Summary: Using newly added `StaticTracepoint.h`, add a Tracepoint for `RequestContext` switch that could be enabled by compiler flag.

Reviewed By: drarmstr

Differential Revision: D4238658

fbshipit-source-id: 043a035ba8251b48d7b29d63a2219ad2edda164f
folly/Makefile.am
folly/io/async/Request.cpp