aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/profiling/stap_timers.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-09-22 12:33:20 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-09-22 12:33:20 -0700
commita82950e68318a6aab6fe894fa39f7fa616c4647b (patch)
tree7d02bd1e9e1cbae1f14ad4ad1e06d3ae81a96dfe /src/core/profiling/stap_timers.c
parent8af4c337181322cc4fb396199c90f574cfb4163f (diff)
clang-format all core files
Diffstat (limited to 'src/core/profiling/stap_timers.c')
-rw-r--r--src/core/profiling/stap_timers.c28
1 files changed, 12 insertions, 16 deletions
diff --git a/src/core/profiling/stap_timers.c b/src/core/profiling/stap_timers.c
index f284e32433..6868a674a9 100644
--- a/src/core/profiling/stap_timers.c
+++ b/src/core/profiling/stap_timers.c
@@ -42,28 +42,24 @@
#include "src/core/profiling/stap_probes.h"
/* Latency profiler API implementation. */
-void
-grpc_timer_add_mark (int tag, const char *tagstr, void *id, const char *file, int line)
-{
- _STAP_ADD_MARK (tag);
+void grpc_timer_add_mark(int tag, const char *tagstr, void *id,
+ const char *file, int line) {
+ _STAP_ADD_MARK(tag);
}
-void
-grpc_timer_add_important_mark (int tag, const char *tagstr, void *id, const char *file, int line)
-{
- _STAP_ADD_IMPORTANT_MARK (tag);
+void grpc_timer_add_important_mark(int tag, const char *tagstr, void *id,
+ const char *file, int line) {
+ _STAP_ADD_IMPORTANT_MARK(tag);
}
-void
-grpc_timer_begin (int tag, const char *tagstr, void *id, const char *file, int line)
-{
- _STAP_TIMING_NS_BEGIN (tag);
+void grpc_timer_begin(int tag, const char *tagstr, void *id, const char *file,
+ int line) {
+ _STAP_TIMING_NS_BEGIN(tag);
}
-void
-grpc_timer_end (int tag, const char *tagstr, void *id, const char *file, int line)
-{
- _STAP_TIMING_NS_END (tag);
+void grpc_timer_end(int tag, const char *tagstr, void *id, const char *file,
+ int line) {
+ _STAP_TIMING_NS_END(tag);
}
#endif /* GRPC_STAP_PROFILER */