|
@@ -46,19 +46,19 @@ The following commands are valid:
|
|
any of the listed names. If no *PATTERN* is given, the all possible
|
|
any of the listed names. If no *PATTERN* is given, the all possible
|
|
probes will be listed.
|
|
probes will be listed.
|
|
|
|
|
|
- For example, to list all probes available in the ``qemu-system-x86_64``
|
|
|
|
|
|
+ For example, to list all probes available in the |qemu_system|
|
|
binary:
|
|
binary:
|
|
|
|
|
|
- ::
|
|
|
|
|
|
+ .. parsed-literal::
|
|
|
|
|
|
- $ qemu-trace-stap list qemu-system-x86_64
|
|
|
|
|
|
+ $ qemu-trace-stap list |qemu_system|
|
|
|
|
|
|
To filter the list to only cover probes related to QEMU's cryptographic
|
|
To filter the list to only cover probes related to QEMU's cryptographic
|
|
subsystem, in a binary outside ``$PATH``
|
|
subsystem, in a binary outside ``$PATH``
|
|
|
|
|
|
- ::
|
|
|
|
|
|
+ .. parsed-literal::
|
|
|
|
|
|
- $ qemu-trace-stap list /opt/qemu/4.0.0/bin/qemu-system-x86_64 'qcrypto*'
|
|
|
|
|
|
+ $ qemu-trace-stap list /opt/qemu/|version|/bin/|qemu_system| 'qcrypto*'
|
|
|
|
|
|
.. option:: run OPTIONS BINARY PATTERN...
|
|
.. option:: run OPTIONS BINARY PATTERN...
|
|
|
|
|
|
@@ -90,26 +90,26 @@ The following commands are valid:
|
|
Restrict the tracing session so that it only triggers for the process
|
|
Restrict the tracing session so that it only triggers for the process
|
|
identified by *PID*.
|
|
identified by *PID*.
|
|
|
|
|
|
- For example, to monitor all processes executing ``qemu-system-x86_64``
|
|
|
|
|
|
+ For example, to monitor all processes executing |qemu_system|
|
|
as found on ``$PATH``, displaying all I/O related probes:
|
|
as found on ``$PATH``, displaying all I/O related probes:
|
|
|
|
|
|
- ::
|
|
|
|
|
|
+ .. parsed-literal::
|
|
|
|
|
|
- $ qemu-trace-stap run qemu-system-x86_64 'qio*'
|
|
|
|
|
|
+ $ qemu-trace-stap run |qemu_system| 'qio*'
|
|
|
|
|
|
To monitor only the QEMU process with PID 1732
|
|
To monitor only the QEMU process with PID 1732
|
|
|
|
|
|
- ::
|
|
|
|
|
|
+ .. parsed-literal::
|
|
|
|
|
|
- $ qemu-trace-stap run --pid=1732 qemu-system-x86_64 'qio*'
|
|
|
|
|
|
+ $ qemu-trace-stap run --pid=1732 |qemu_system| 'qio*'
|
|
|
|
|
|
To monitor QEMU processes running an alternative binary outside of
|
|
To monitor QEMU processes running an alternative binary outside of
|
|
``$PATH``, displaying verbose information about setup of the
|
|
``$PATH``, displaying verbose information about setup of the
|
|
tracing environment:
|
|
tracing environment:
|
|
|
|
|
|
- ::
|
|
|
|
|
|
+ .. parsed-literal::
|
|
|
|
|
|
- $ qemu-trace-stap -v run /opt/qemu/4.0.0/qemu-system-x86_64 'qio*'
|
|
|
|
|
|
+ $ qemu-trace-stap -v run /opt/qemu/|version|/bin/|qemu_system| 'qio*'
|
|
|
|
|
|
See also
|
|
See also
|
|
--------
|
|
--------
|