Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
76988c80
Commit
76988c80
authored
Sep 13, 2016
by
Vizerai
Browse files
Options
Downloads
Patches
Plain Diff
update
parent
cb849ef5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/core/ext/census/tracing.c
+12
-6
12 additions, 6 deletions
src/core/ext/census/tracing.c
test/core/census/trace_context_test.c
+1
-0
1 addition, 0 deletions
test/core/census/trace_context_test.c
with
13 additions
and
6 deletions
src/core/ext/census/tracing.c
+
12
−
6
View file @
76988c80
...
@@ -31,15 +31,21 @@
...
@@ -31,15 +31,21 @@
*
*
*/
*/
//#include "src/core/ext/census/tracing.h"
#include
<grpc/census.h>
#include
<grpc/census.h>
/* TODO(aveitch): These are all placeholder implementations. */
/* TODO(aveitch): These are all placeholder implementations. */
int
census_trace_mask
(
const
census_context
*
context
)
{
// int census_trace_mask(const census_context *context) {
return
CENSUS_TRACE_MASK_NONE
;
// return CENSUS_TRACE_MASK_NONE;
}
// }
// void census_set_trace_mask(int trace_mask) {}
void
census_set_trace_mask
(
int
trace_mask
)
{}
// 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
,
// void SetTracerParams(const Params& params);
const
char
*
buffer
,
size_t
n
)
{}
This diff is collapsed.
Click to expand it.
test/core/census/trace_context_test.c
+
1
−
0
View file @
76988c80
...
@@ -227,5 +227,6 @@ int main(int argc, char **argv) {
...
@@ -227,5 +227,6 @@ int main(int argc, char **argv) {
test_no_sample
();
test_no_sample
();
test_buffer_size
();
test_buffer_size
();
fprintf
(
stderr
,
"sizeof(void*): %lu
\n
"
,
sizeof
(
void
*
));
return
0
;
return
0
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment