New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TProfiler.log的内容为空 #33

Closed
1075551055 opened this Issue Feb 20, 2016 · 9 comments

Comments

Projects
None yet
7 participants
@1075551055

1075551055 commented Feb 20, 2016

尝试多次运行应用,TProfiler.log的内容只出现莫名其妙的“=”号,并没有像wiki中的说明那样,从而导致无法分析profiler log命令(执行类似命令生成的文件什么内容都没有: java -cp tprofiler.jar com.taobao.profile.analysis.ProfilerLogAnalysis d:/tprofiler.log d:/tmethod.log d:/topmethod.log d:/topobject.log)

@jlusdy

This comment has been minimized.

Show comment
Hide comment
@jlusdy

jlusdy Feb 25, 2016

Member

是不是执行时间未到或者被织入后的代码未被执行到
可以开启debug日志看看

Member

jlusdy commented Feb 25, 2016

是不是执行时间未到或者被织入后的代码未被执行到
可以开启debug日志看看

@simplelzl

This comment has been minimized.

Show comment
Hide comment
@simplelzl

simplelzl May 26, 2016

我们也有这个问题,TProfiler.log为空,只有tsampler.log有数据。

simplelzl commented May 26, 2016

我们也有这个问题,TProfiler.log为空,只有tsampler.log有数据。

@simplelzl

This comment has been minimized.

Show comment
Hide comment
@simplelzl

simplelzl May 31, 2016

这是因为profile.properties中includePackageStartsWith配置错误,导致transform未执行

simplelzl commented May 31, 2016

这是因为profile.properties中includePackageStartsWith配置错误,导致transform未执行

@TonyFang111

This comment has been minimized.

Show comment
Hide comment
@TonyFang111

TonyFang111 Nov 8, 2016

看完源码才发现,包名称com/sun前缀的类全部被排除,而不是com/sun/,恰好测试时用的包前缀是com/sun*/,测试多次发现tprofiler.log里面都是=号,看过源码才发现这个问题。使用的V1.0版本,刚看到master下面的好像已经修复了这个问题。

TonyFang111 commented Nov 8, 2016

看完源码才发现,包名称com/sun前缀的类全部被排除,而不是com/sun/,恰好测试时用的包前缀是com/sun*/,测试多次发现tprofiler.log里面都是=号,看过源码才发现这个问题。使用的V1.0版本,刚看到master下面的好像已经修复了这个问题。

@jlusdy jlusdy closed this Dec 28, 2016

@lishujian

This comment has been minimized.

Show comment
Hide comment
@lishujian

lishujian Jan 19, 2018

@simplelzl 这个具体怎么解决,可以详细点吗?这个问题头疼了几天,,麻烦了

lishujian commented Jan 19, 2018

@simplelzl 这个具体怎么解决,可以详细点吗?这个问题头疼了几天,,麻烦了

@lishujian

This comment has been minimized.

Show comment
Hide comment
@lishujian

lishujian Jan 19, 2018

@tfang111 是版本的问题吗?需要下载那个版本

lishujian commented Jan 19, 2018

@tfang111 是版本的问题吗?需要下载那个版本

@xiaojun07

This comment has been minimized.

Show comment
Hide comment
@xiaojun07

xiaojun07 Apr 20, 2018

@lishujian 请问问题解决了吗 我也有同样的问题

xiaojun07 commented Apr 20, 2018

@lishujian 请问问题解决了吗 我也有同样的问题

@AJYSN

This comment has been minimized.

Show comment
Hide comment
@AJYSN

AJYSN Apr 25, 2018

@simplelzl @xiaojun07
TProfilerWiki里面写的
includePackageStartsWith = com.taobao 进行profile的类包名(分号分割)
把com.taobao改成自己本地profile的类包名即可

AJYSN commented Apr 25, 2018

@simplelzl @xiaojun07
TProfilerWiki里面写的
includePackageStartsWith = com.taobao 进行profile的类包名(分号分割)
把com.taobao改成自己本地profile的类包名即可

@TonyFang111

This comment has been minimized.

Show comment
Hide comment
@TonyFang111

TonyFang111 Apr 28, 2018

@xiaojun07 建议不要v1.0的release,拉master下的源码自己编译打包,然后如果有特殊的需求自己改源码重新编译就好了

TonyFang111 commented Apr 28, 2018

@xiaojun07 建议不要v1.0的release,拉master下的源码自己编译打包,然后如果有特殊的需求自己改源码重新编译就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment