aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/census/tracing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ext/census/tracing.c')
-rw-r--r--src/core/ext/census/tracing.c19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/core/ext/census/tracing.c b/src/core/ext/census/tracing.c
index 8f0e12296d..536ba98f64 100644
--- a/src/core/ext/census/tracing.c
+++ b/src/core/ext/census/tracing.c
@@ -33,17 +33,24 @@
//#include "src/core/ext/census/tracing.h"
+#include <stdlib.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;
-// }
+int census_trace_mask(const census_context *context) {
+ abort();
+ return CENSUS_TRACE_MASK_NONE;
+}
-// void census_set_trace_mask(int trace_mask) {}
+void census_set_trace_mask(int trace_mask) {
+ abort();
+}
-// void census_trace_print(census_context *context, uint32_t type,
-// const char *buffer, size_t n) {}
+void census_trace_print(census_context *context, uint32_t type,
+ const char *buffer, size_t n) {
+ abort();
+}
// void SetTracerParams(const Params& params);