Skip to content

Commit

Permalink
upgrade skynet
Browse files Browse the repository at this point in the history
  • Loading branch information
lsg2020 committed Apr 16, 2022
1 parent 9a29f36 commit dde7fce
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
url = https://github.com/lsg2020/luaprofile
[submodule "skynet"]
path = skynet
url = https://github.com/cloudwu/skynet
url = https://github.com/lsg2020/skynet
branch = skynet_profile
2 changes: 1 addition & 1 deletion 3rd/luaprofile
Submodule luaprofile updated 2 files
+2 −23 README.md
+11 −58 profile.c
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ skynet 火焰图 flamegraph + debug, 运行过程中随时启停profiler,方便


## 使用说明
* 确认skynet版本是否一至,有一点[修改](https://github.com/lsg2020/skynet/commit/4ace42e80814abfff6b8e64335061a206c674f96)
* 引入调试命令 `SWT_RUN` 让服务支持debug脚本执行
* 配置 `preload = "./lualib/swt/debug.lua"`
* 或者在服务启动时 `require "swt.debug"`
Expand Down
2 changes: 1 addition & 1 deletion skynet

0 comments on commit dde7fce

Please sign in to comment.