Skip to content

Oneshot process exits before a sample can be captured #113

@gitstashpop

Description

@gitstashpop

I have a Rust program that makes a local request, gets a response, and exits. Using the local profiler, I was not able to see any jfrs, even with tuning the capture duration to 1ms.

A workaround I had was to put a sleep before exiting, and I was able to see jfr events.

Is it possible to always generate a report before exiting?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions