Merge branch 'optionalize_census' into optionalize_resolvers

pull/6042/head
Craig Tiller 9 years ago
commit db008e2d6e
  1. 6
      src/core/ext/census/aggregation.h
  2. 6
      src/core/ext/census/census_interface.h
  3. 6
      src/core/ext/census/census_log.h
  4. 6
      src/core/ext/census/census_rpc_stats.h
  5. 6
      src/core/ext/census/census_tracing.h
  6. 6
      src/core/ext/census/grpc_filter.h
  7. 6
      src/core/ext/census/hash_table.h
  8. 6
      src/core/ext/census/mlog.h
  9. 6
      src/core/ext/census/rpc_metric_id.h
  10. 6
      src/core/ext/census/window_stats.h

@ -33,8 +33,8 @@
#include <stddef.h>
#ifndef GRPC_CORE_LIB_CENSUS_AGGREGATION_H
#define GRPC_CORE_LIB_CENSUS_AGGREGATION_H
#ifndef GRPC_CORE_EXT_CENSUS_AGGREGATION_H
#define GRPC_CORE_EXT_CENSUS_AGGREGATION_H
/** Structure used to describe an aggregation type. */
struct census_aggregation_ops {
@ -63,4 +63,4 @@ struct census_aggregation_ops {
size_t (*print)(const void *aggregation, char *buffer, size_t n);
};
#endif /* GRPC_CORE_LIB_CENSUS_AGGREGATION_H */
#endif /* GRPC_CORE_EXT_CENSUS_AGGREGATION_H */

@ -31,8 +31,8 @@
*
*/
#ifndef GRPC_CORE_LIB_STATISTICS_CENSUS_INTERFACE_H
#define GRPC_CORE_LIB_STATISTICS_CENSUS_INTERFACE_H
#ifndef GRPC_CORE_EXT_CENSUS_CENSUS_INTERFACE_H
#define GRPC_CORE_EXT_CENSUS_CENSUS_INTERFACE_H
#include <grpc/support/port_platform.h>
@ -73,4 +73,4 @@ census_op_id census_tracing_start_op(void);
/* Ends tracing. Calling this function will invalidate the input op_id. */
void census_tracing_end_op(census_op_id op_id);
#endif /* GRPC_CORE_LIB_STATISTICS_CENSUS_INTERFACE_H */
#endif /* GRPC_CORE_EXT_CENSUS_CENSUS_INTERFACE_H */

@ -31,8 +31,8 @@
*
*/
#ifndef GRPC_CORE_LIB_STATISTICS_CENSUS_LOG_H
#define GRPC_CORE_LIB_STATISTICS_CENSUS_LOG_H
#ifndef GRPC_CORE_EXT_CENSUS_CENSUS_LOG_H
#define GRPC_CORE_EXT_CENSUS_CENSUS_LOG_H
#include <stddef.h>
@ -88,4 +88,4 @@ size_t census_log_remaining_space(void);
out-of-space. */
int census_log_out_of_space_count(void);
#endif /* GRPC_CORE_LIB_STATISTICS_CENSUS_LOG_H */
#endif /* GRPC_CORE_EXT_CENSUS_CENSUS_LOG_H */

@ -31,8 +31,8 @@
*
*/
#ifndef GRPC_CORE_LIB_STATISTICS_CENSUS_RPC_STATS_H
#define GRPC_CORE_LIB_STATISTICS_CENSUS_RPC_STATS_H
#ifndef GRPC_CORE_EXT_CENSUS_CENSUS_RPC_STATS_H
#define GRPC_CORE_EXT_CENSUS_CENSUS_RPC_STATS_H
#include <grpc/support/port_platform.h>
#include "src/core/ext/census/census_interface.h"
@ -98,4 +98,4 @@ void census_stats_store_shutdown(void);
}
#endif
#endif /* GRPC_CORE_LIB_STATISTICS_CENSUS_RPC_STATS_H */
#endif /* GRPC_CORE_EXT_CENSUS_CENSUS_RPC_STATS_H */

@ -31,8 +31,8 @@
*
*/
#ifndef GRPC_CORE_LIB_STATISTICS_CENSUS_TRACING_H
#define GRPC_CORE_LIB_STATISTICS_CENSUS_TRACING_H
#ifndef GRPC_CORE_EXT_CENSUS_CENSUS_TRACING_H
#define GRPC_CORE_EXT_CENSUS_CENSUS_TRACING_H
#include <grpc/support/time.h>
#include "src/core/ext/census/census_rpc_stats.h"
@ -93,4 +93,4 @@ census_trace_obj **census_get_active_ops(int *num_active_ops);
}
#endif
#endif /* GRPC_CORE_LIB_STATISTICS_CENSUS_TRACING_H */
#endif /* GRPC_CORE_EXT_CENSUS_CENSUS_TRACING_H */

@ -31,8 +31,8 @@
*
*/
#ifndef GRPC_CORE_LIB_CENSUS_GRPC_FILTER_H
#define GRPC_CORE_LIB_CENSUS_GRPC_FILTER_H
#ifndef GRPC_CORE_EXT_CENSUS_GRPC_FILTER_H
#define GRPC_CORE_EXT_CENSUS_GRPC_FILTER_H
#include "src/core/lib/channel/channel_stack.h"
@ -41,4 +41,4 @@
extern const grpc_channel_filter grpc_client_census_filter;
extern const grpc_channel_filter grpc_server_census_filter;
#endif /* GRPC_CORE_LIB_CENSUS_GRPC_FILTER_H */
#endif /* GRPC_CORE_EXT_CENSUS_GRPC_FILTER_H */

@ -31,8 +31,8 @@
*
*/
#ifndef GRPC_CORE_LIB_STATISTICS_HASH_TABLE_H
#define GRPC_CORE_LIB_STATISTICS_HASH_TABLE_H
#ifndef GRPC_CORE_EXT_CENSUS_HASH_TABLE_H
#define GRPC_CORE_EXT_CENSUS_HASH_TABLE_H
#include <stddef.h>
@ -128,4 +128,4 @@ typedef void (*census_ht_itr_cb)(census_ht_key key, const void *val_ptr,
should not invalidate data entries. */
uint64_t census_ht_for_all(const census_ht *ht, census_ht_itr_cb);
#endif /* GRPC_CORE_LIB_STATISTICS_HASH_TABLE_H */
#endif /* GRPC_CORE_EXT_CENSUS_HASH_TABLE_H */

@ -33,8 +33,8 @@
/* A very fast in-memory log, optimized for multiple writers. */
#ifndef GRPC_CORE_LIB_CENSUS_MLOG_H
#define GRPC_CORE_LIB_CENSUS_MLOG_H
#ifndef GRPC_CORE_EXT_CENSUS_MLOG_H
#define GRPC_CORE_EXT_CENSUS_MLOG_H
#include <grpc/support/port_platform.h>
#include <stddef.h>
@ -92,4 +92,4 @@ size_t census_log_remaining_space(void);
out-of-space. */
int64_t census_log_out_of_space_count(void);
#endif /* GRPC_CORE_LIB_CENSUS_MLOG_H */
#endif /* GRPC_CORE_EXT_CENSUS_MLOG_H */

@ -31,8 +31,8 @@
*
*/
#ifndef GRPC_CORE_LIB_CENSUS_RPC_METRIC_ID_H
#define GRPC_CORE_LIB_CENSUS_RPC_METRIC_ID_H
#ifndef GRPC_CORE_EXT_CENSUS_RPC_METRIC_ID_H
#define GRPC_CORE_EXT_CENSUS_RPC_METRIC_ID_H
/* Metric ID's used for RPC measurements. */
/* Count of client requests sent. */
@ -48,4 +48,4 @@
/* Server side request latency. */
#define CENSUS_METRIC_RPC_SERVER_LATENCY ((uint32_t)5)
#endif /* GRPC_CORE_LIB_CENSUS_RPC_METRIC_ID_H */
#endif /* GRPC_CORE_EXT_CENSUS_RPC_METRIC_ID_H */

@ -31,8 +31,8 @@
*
*/
#ifndef GRPC_CORE_LIB_STATISTICS_WINDOW_STATS_H
#define GRPC_CORE_LIB_STATISTICS_WINDOW_STATS_H
#ifndef GRPC_CORE_EXT_CENSUS_WINDOW_STATS_H
#define GRPC_CORE_EXT_CENSUS_WINDOW_STATS_H
#include <grpc/support/time.h>
@ -170,4 +170,4 @@ void census_window_stats_get_sums(const struct census_window_stats *wstats,
assertion failure). This function is thread-compatible. */
void census_window_stats_destroy(struct census_window_stats *wstats);
#endif /* GRPC_CORE_LIB_STATISTICS_WINDOW_STATS_H */
#endif /* GRPC_CORE_EXT_CENSUS_WINDOW_STATS_H */

Loading…
Cancel
Save