rocprofiler-systems-instrumenting-binaries
Installation
SKILL.md
Instrumenting Binaries
rocprof-sys-instrument decides which functions of a program get instrumented and
either does it while the program runs or writes a new instrumented binary. For the
full, current flag list run rocprof-sys-instrument --help (use
--help | grep -A3 -- --<flag> for one flag).
How to answer
Keep answers short: under about 1200 characters unless the user asks for more.
Lead with the direct answer and the command, then add only the caveats from this
skill that apply to the question (for example: binary rewrite skips shared libraries,
-MR ignores -R, patterns are unanchored regular expressions, -l pairs with a
lower -i and more detail means more overhead, how to list modules with
--print-available). Do not add alternatives or background nobody asked for.