Skip to content
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

empty log file #169

Open
bruto0 opened this issue Oct 26, 2016 · 3 comments
Open

empty log file #169

bruto0 opened this issue Oct 26, 2016 · 3 comments

Comments

@bruto0
Copy link

bruto0 commented Oct 26, 2016

First time user. Built the project successfully on Ubuntu 16 (amd64) as per instructions.
When trying to profile a simple Java program (spinning inside a loop for a set number of seconds) with the agent (start=1) and -XX:TraceJVMTI=... I can see all the events agent subscribes to being triggered, but in the end, the .hpl file is empty. Tried various run durations - from a few seconds to a few minutes, on both OpenJDK 8 and Oracle's JDK - with identical results.
Posting here for lack of a better place, please advise.

@bruto0
Copy link
Author

bruto0 commented Oct 27, 2016

It'd be nice if the wiki page explicitly said that sampling won't start automatically on some platforms and it needs to be done with the help of the remote controller :)

@lic9
Copy link

lic9 commented Dec 12, 2016

I got the same issue (can only be started by telnet) on rhel 6... It used to work with commit 1f1e0f2, but not the latest repo...

PhRX pushed a commit to PhRX/honest-profiler-fx-ui that referenced this issue Dec 26, 2016
@chhsiao90
Copy link
Contributor

I had investigated this issue because I had similar problem #150 and finally found what happen about it!

at 763c581 , there is some behavior change that the profiler will start after the thread start callback invoke.

But the thread start event notification was not enabled due to the code here agent.cpp

So the hp would never start automatically at linux.
It seems that #173 fixed that problem that it allow linux to register thread start event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants