Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
知世而放
oceanbase
提交
f5b84dcf
O
oceanbase
项目概览
知世而放
/
oceanbase
与 Fork 源项目一致
Fork自
oceanbase / oceanbase
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
oceanbase
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f5b84dcf
编写于
10月 26, 2022
作者:
O
obdev
提交者:
wangzelin.wzl
10月 26, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1. Revert hotfuncs and observer.prof 2. update gtest deps
上级
3b60c27e
变更
8
展开全部
显示空白变更内容
内联
并排
Showing
8 changed file
with
214152 addition
and
6 deletion
+214152
-6
build.sh
build.sh
+1
-1
cmake/Env.cmake
cmake/Env.cmake
+7
-1
deps/init/oceanbase.el7.aarch64.deps
deps/init/oceanbase.el7.aarch64.deps
+1
-1
deps/init/oceanbase.el7.x86_64.deps
deps/init/oceanbase.el7.x86_64.deps
+1
-1
deps/init/oceanbase.el8.aarch64.deps
deps/init/oceanbase.el8.aarch64.deps
+1
-1
deps/init/oceanbase.el8.x86_64.deps
deps/init/oceanbase.el8.x86_64.deps
+1
-1
hotfuncs.txt
hotfuncs.txt
+4409
-0
observer.prof
observer.prof
+209731
-0
未找到文件。
build.sh
浏览文件 @
f5b84dcf
...
...
@@ -193,7 +193,7 @@ function build
;;
xrpm
)
STATIC_LINK_LGPL_DEPS_OPTION
=
OFF
do_build
"
$@
"
-DCMAKE_BUILD_TYPE
=
RelWithDebInfo
-DOB_USE_LLD
=
$LLD_OPTION
-DENABLE_FATAL_ERROR_HANG
=
OFF
-D
OB_STATIC_LINK_LGPL_DEPS
=
$STATIC_LINK_LGPL_DEPS_OPTION
do_build
"
$@
"
-DCMAKE_BUILD_TYPE
=
RelWithDebInfo
-DOB_USE_LLD
=
$LLD_OPTION
-DENABLE_FATAL_ERROR_HANG
=
OFF
-D
ENABLE_AUTO_FDO
=
ON
-DOB_STATIC_LINK_LGPL_DEPS
=
$STATIC_LINK_LGPL_DEPS_OPTION
;;
xenable_smart_var_check
)
do_build
"
$@
"
-DCMAKE_BUILD_TYPE
=
Debug
-DOB_USE_LLD
=
$LLD_OPTION
-DENABLE_SMART_VAR_CHECK
=
ON
-DOB_ENABLE_AVX2
=
ON
...
...
cmake/Env.cmake
浏览文件 @
f5b84dcf
...
...
@@ -21,6 +21,7 @@ ob_define(ENABLE_SMART_VAR_CHECK OFF)
ob_define
(
ENABLE_COMPILE_DLL_MODE OFF
)
ob_define
(
OB_CMAKE_RULES_CHECK ON
)
ob_define
(
OB_STATIC_LINK_LGPL_DEPS ON
)
ob_define
(
HOTFUNC_PATH
"
${
CMAKE_SOURCE_DIR
}
/hotfuncs.txt"
)
# 'ENABLE_PERF_MODE' use for offline system insight performance test
# PERF_MODE macro controls many special code path in system
...
...
@@ -40,6 +41,11 @@ if(WITH_COVERAGE)
set
(
DEBUG_PREFIX
""
)
endif
()
ob_define
(
AUTO_FDO_OPT
""
)
if
(
ENABLE_AUTO_FDO
)
set
(
AUTO_FDO_OPT
"-fprofile-sample-use=
${
CMAKE_SOURCE_DIR
}
/observer.prof"
)
endif
()
# should not use initial-exec for tls-model if building OBCDC.
if
(
NOT OB_BUILD_CDC
)
...
...
@@ -66,7 +72,7 @@ if (OB_USE_CLANG)
if
(
OB_USE_LLD
)
set
(
LD_OPT
"-fuse-ld=
${
DEVTOOLS_DIR
}
/bin/ld.lld"
)
set
(
REORDER_COMP_OPT
"-ffunction-sections -funique-internal-linkage-names -fdebug-info-for-profiling"
)
set
(
REORDER_LINK_OPT
"-Wl,--no-rosegment,--build-id=sha1"
)
set
(
REORDER_LINK_OPT
"-Wl,--no-rosegment,--build-id=sha1
,--no-warn-symbol-ordering,--symbol-ordering-file,
${
HOTFUNC_PATH
}
"
)
set
(
OB_LD_BIN
"
${
DEVTOOLS_DIR
}
/bin/ld.lld"
)
endif
()
set
(
CMAKE_CXX_FLAGS
"--gcc-toolchain=
${
GCC9
}
${
DEBUG_PREFIX
}
-fcolor-diagnostics
${
REORDER_COMP_OPT
}
-fmax-type-align=8
${
CMAKE_ASAN_FLAG
}
${
CMAKE_COVERAGE_FLAG
}
-std=gnu++11"
)
...
...
deps/init/oceanbase.el7.aarch64.deps
浏览文件 @
f5b84dcf
...
...
@@ -14,7 +14,7 @@ arch=aarch64
repo=http://yum.tbsite.net/taobao/7/aarch64/test/ob-deploy/
[deps]
devdeps-gtest-1.8.0-
72022092914
.el7.aarch64.rpm
devdeps-gtest-1.8.0-
132022101316
.el7.aarch64.rpm
devdeps-isa-l-static-2.22.0-22022092915.el7.aarch64.rpm
devdeps-libcurl-static-7.29.0-32022093010.el7.aarch64.rpm
devdeps-libunwind-static-1.6.2-222022100410.el7.aarch64.rpm
...
...
deps/init/oceanbase.el7.x86_64.deps
浏览文件 @
f5b84dcf
...
...
@@ -9,7 +9,7 @@ arch=x86_64
repo=http://mirrors.aliyun.com/oceanbase/community/stable/el/7/x86_64/
[deps]
devdeps-gtest-1.8.0-
72022092914
.el7.x86_64.rpm
devdeps-gtest-1.8.0-
132022101316
.el7.x86_64.rpm
devdeps-isa-l-static-2.22.0-22022092915.el7.x86_64.rpm
devdeps-libcurl-static-7.29.0-32022093010.el7.x86_64.rpm
devdeps-libunwind-static-1.6.2-222022100410.el7.x86_64.rpm
...
...
deps/init/oceanbase.el8.aarch64.deps
浏览文件 @
f5b84dcf
...
...
@@ -9,7 +9,7 @@ arch=aarch64
repo=http://mirrors.aliyun.com/oceanbase/community/stable/el/8/aarch64/
[deps]
devdeps-gtest-1.8.0-
72022092914
.el8.aarch64.rpm
devdeps-gtest-1.8.0-
132022101316
.el8.aarch64.rpm
devdeps-isa-l-static-2.22.0-22022092915.el8.aarch64.rpm
devdeps-libcurl-static-7.29.0-32022093010.el8.aarch64.rpm
devdeps-libunwind-static-1.6.2-222022100410.el8.aarch64.rpm
...
...
deps/init/oceanbase.el8.x86_64.deps
浏览文件 @
f5b84dcf
...
...
@@ -9,7 +9,7 @@ arch=x86_64
repo=http://mirrors.aliyun.com/oceanbase/community/stable/el/8/x86_64/
[deps]
devdeps-gtest-1.8.0-
72022092914
.el8.x86_64.rpm
devdeps-gtest-1.8.0-
132022101316
.el8.x86_64.rpm
devdeps-isa-l-static-2.22.0-22022092915.el8.x86_64.rpm
devdeps-libcurl-static-7.29.0-32022093010.el8.x86_64.rpm
devdeps-libunwind-static-1.6.2-222022100410.el8.x86_64.rpm
...
...
hotfuncs.txt
0 → 100644
浏览文件 @
f5b84dcf
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
observer.prof
0 → 100644
浏览文件 @
f5b84dcf
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录