Skip to content

Commit

Permalink
Add new how to file on causal profiling and infra changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
amd-jnovotny committed Jun 26, 2024
1 parent 77b8bab commit aee802b
Show file tree
Hide file tree
Showing 4 changed files with 623 additions and 3 deletions.
Binary file added docs/data/causal-foobar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/how-to/instrumenting-rewriting-binary-application.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ There are three ways to perform instrumentation with `Omnitrace <https://github.
* This mode is recommended if you want to analyze not only the performance of your executable and/or
libraries but also the performance of the library dependencies

* Attaching to a process that is currently running (analagous to ``gdb -p <PID>``)
* Attaching to a process that is currently running (analogous to ``gdb -p <PID>``)

* This mode is activated via ``-p <PID>``
* Same caveats as ``omnitrace-instrument`` with respect to memory and overhead
Expand Down Expand Up @@ -514,7 +514,7 @@ were available for instrumentation, which functions were instrumented,
which functions were excluded, and which functions contained overlapping function bodies.
The default output path of these files will be in a ``omnitrace-<NAME>-output`` folder
where ``<NAME>`` is the base name of the targeted binary or
(in the case of binary rewrite, the basename of the resulting executable), e.g.
(in the case of binary rewrite, the base name of the resulting executable), e.g.
``omnitrace-instrument -- ls`` will output its files to ``omnitrace-ls-output``
whereas ``omnitrace-instrument -o ls.inst -- ls`` will output to ``omnitrace-ls.inst-output``.
Expand Down
Loading

0 comments on commit aee802b

Please sign in to comment.