aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/census/tracing.c
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2017-01-12 14:57:24 +0100
committerGravatar Jan Tattermusch <jtattermusch@google.com>2017-01-12 14:57:24 +0100
commitc79da7b383b2e927c2fc03860fcf641e76d694a4 (patch)
treecaf05af3dd596cd105635a39a5f47b2f8ab4dd30 /src/core/ext/census/tracing.c
parent34f58fe42c0ede74555ccaa54e9769ec10bb9fca (diff)
fix compilation of grpc_dll project
Diffstat (limited to 'src/core/ext/census/tracing.c')
-rw-r--r--src/core/ext/census/tracing.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/core/ext/census/tracing.c b/src/core/ext/census/tracing.c
index 8f0e12296d..3b5d6dab2b 100644
--- a/src/core/ext/census/tracing.c
+++ b/src/core/ext/census/tracing.c
@@ -31,19 +31,15 @@
*
*/
-//#include "src/core/ext/census/tracing.h"
-
#include <grpc/census.h>
/* TODO(aveitch): These are all placeholder implementations. */
-// int census_trace_mask(const census_context *context) {
-// return CENSUS_TRACE_MASK_NONE;
-// }
-
-// void census_set_trace_mask(int trace_mask) {}
+int census_trace_mask(const census_context *context) {
+ return CENSUS_TRACE_MASK_NONE;
+}
-// void census_trace_print(census_context *context, uint32_t type,
-// const char *buffer, size_t n) {}
+void census_set_trace_mask(int trace_mask) {}
-// void SetTracerParams(const Params& params);
+void census_trace_print(census_context *context, uint32_t type,
+ const char *buffer, size_t n) {}