Analyzer java-ftrace
Name
java-ftrace - Trace Java function call entry events
This analyzer traces Java function call entry events in real-time within JVM applications. It captures method invocation events with optional backtrace information at each entry point. The analyzer can operate in single mode to print each unique entry event only once, or capture all occurrences. It provides detailed execution flow visibility, helping debug method invocation sequences, analyze call patterns, and troubleshoot runtime behavior in Java applications.
Resource Category
CPU.
Application Type & Technical Stack
- Java
Command Line Syntax
The analyzer can be invoked directly on the command-line via the orxray
utility from the openresty-xray-cli software package.
Alternatively, the analyzer can also be invoked manually or automatically on the web console UI of OpenResty XRay (like on the Advanced web page).
# PID is the target process PID.
orxray analyzer run java-ftrace -p PID
# trace a shell command directly
orxray analyzer run java-ftrace -c SHELL_CMD
# PGID is the process group ID or any process's PID within the target process
# group.
orxray analyzer run java-ftrace -p -PGID
# trace any processes started from the specified executable path.
orxray analyzer run java-ftrace --exe /path/to/exe/file
Tracing Multiple Processes
Supported.
Output Formats
- Plain Texts
Author
The OpenResty Inc. Team.
Copyright
Copyright (C) by OpenResty Inc. All rights reserved.