Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
2dc60b73
Commit
2dc60b73
authored
Jul 28, 2017
by
gejun
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://icode.baidu.com:8235/baidu/opensource/baidu-rpc
parents
e4a8d9b1
12d17614
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
profiler_linker.h
brpc/details/profiler_linker.h
+10
-1
No files found.
brpc/details/profiler_linker.h
View file @
2dc60b73
...
...
@@ -8,7 +8,16 @@
#define BRPC_PROFILER_LINKER_H
#if defined(BRPC_ENABLE_CPU_PROFILER) || defined(BAIDU_RPC_ENABLE_CPU_PROFILER)
#include <google/profiler.h>
#ifdef __cplusplus
extern
"C"
{
#endif
// Suppress warning of `google/profiler.h' which has been deprecated since
// gperftools-2.2
void
ProfilerStart
(
const
char
*
);
void
ProfilerStop
(
const
char
*
);
#ifdef __cplusplus
}
#endif
#endif
#if defined(BRPC_ENABLE_HEAP_PROFILER) || defined(BAIDU_RPC_ENABLE_HEAP_PROFILER)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment