aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/census/grpc_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/census/grpc_context.c')
-rw-r--r--src/core/census/grpc_context.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/census/grpc_context.c b/src/core/census/grpc_context.c
index 429f3ec9db..4b61382a2c 100644
--- a/src/core/census/grpc_context.c
+++ b/src/core/census/grpc_context.c
@@ -33,9 +33,12 @@
#include <grpc/census.h>
#include <grpc/grpc.h>
+#include "src/core/surface/api_trace.h"
#include "src/core/surface/call.h"
void grpc_census_call_set_context(grpc_call *call, census_context *context) {
+ GRPC_API_TRACE("grpc_census_call_set_context(call=%p, census_context=%p)", 2,
+ (call, context));
if (census_enabled() == CENSUS_FEATURE_NONE) {
return;
}
@@ -45,5 +48,6 @@ void grpc_census_call_set_context(grpc_call *call, census_context *context) {
}
census_context *grpc_census_call_get_context(grpc_call *call) {
+ GRPC_API_TRACE("grpc_census_call_get_context(call=%p)", 1, (call));
return (census_context *)grpc_call_context_get(call, GRPC_CONTEXT_TRACING);
}