mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-24 23:17:42 +08:00
新增通过nodeid获取nodename接口
This commit is contained in:
@@ -54,6 +54,7 @@ func (slf *PProfService) HTTP_DebugPProf(request *HttpRequest, resp *HttpRespone
|
||||
|
||||
func (slf *PProfService) RPC_DebugPProf(arg *string, ret *Profilestruct) error {
|
||||
|
||||
ret.Fisttime = slf.fisttime
|
||||
for _, p := range pprof.Profiles() {
|
||||
ret.ProfileList = append(ret.ProfileList, ProfileData{
|
||||
Name: p.Name(),
|
||||
|
||||
Reference in New Issue
Block a user