[PATCH] D147842: [Docs][llvm-exegesis] Add documentation for --use-dummy-perf-counters

Aiden Grossman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 8 01:03:22 PDT 2023


aidengrossman created this revision.
Herald added a subscriber: mstojanovic.
Herald added a project: All.
aidengrossman requested review of this revision.
Herald added subscribers: llvm-commits, courbet.
Herald added a project: LLVM.

This patch adds in documentation for the --use-dummy-perf-counters
option (introduced in D146301 <https://reviews.llvm.org/D146301>).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D147842

Files:
  llvm/docs/CommandGuide/llvm-exegesis.rst


Index: llvm/docs/CommandGuide/llvm-exegesis.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-exegesis.rst
+++ llvm/docs/CommandGuide/llvm-exegesis.rst
@@ -362,6 +362,13 @@
  If set,  llvm-exegesis will dump the generated code to a temporary file to
  enable code inspection. Disabled by default.
 
+.. option:: --use-dummpy-perf-counters
+
+ If set, llvm-exegesis will not read any real performance counters and
+ return a dummy value instead. This can be used to ensure a snippet doesn't
+ crash when hardware performance counters are unavailable and for
+ debugging :program:`llvm-exegesis` itself.
+
 EXIT STATUS
 -----------
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147842.511859.patch
Type: text/x-patch
Size: 686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230408/ae2eb27c/attachment.bin>


More information about the llvm-commits mailing list