aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/census/initialize.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-07-08 08:36:14 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-07-08 08:36:14 -0700
commit3f03f9164a2084051bd741c4970f11bbde5feb9b (patch)
tree72244c99cc17bd15bb03fa06a884cd6b895f570f /src/core/census/initialize.c
parent76d2c3b95185b6d0cbaca90843412caef47806da (diff)
parent3b685b744818ec73580aff961f85c22b11e61ab0 (diff)
Merge github.com:grpc/grpc into screw-you-guys-im-taking-my-own-lock
Diffstat (limited to 'src/core/census/initialize.c')
-rw-r--r--src/core/census/initialize.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/census/initialize.c b/src/core/census/initialize.c
index 057ac78ee7..8016520641 100644
--- a/src/core/census/initialize.c
+++ b/src/core/census/initialize.c
@@ -48,3 +48,5 @@ int census_initialize(int functions) {
}
void census_shutdown() { census_fns_enabled = CENSUS_NONE; }
+
+int census_available() { return (census_fns_enabled != CENSUS_NONE); }