fix a compiling bug in profilingtool.go