From c19bc611bdea30ff0ea6be004be93229c732d5bf Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Mon, 10 Apr 2023 19:08:27 +0000 Subject: [PATCH] [Docs][llvm-exegesis] Add documentation for --use-dummy-perf-counters This patch adds in documentation for the --use-dummy-perf-counters option (introduced in D146301). Reviewed By: kpdev42 Differential Revision: https://reviews.llvm.org/D147842 --- llvm/docs/CommandGuide/llvm-exegesis.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/llvm/docs/CommandGuide/llvm-exegesis.rst b/llvm/docs/CommandGuide/llvm-exegesis.rst index c4ffe8d..bede7d2 100644 --- a/llvm/docs/CommandGuide/llvm-exegesis.rst +++ b/llvm/docs/CommandGuide/llvm-exegesis.rst @@ -362,6 +362,13 @@ OPTIONS If set, llvm-exegesis will dump the generated code to a temporary file to enable code inspection. Disabled by default. +.. option:: --use-dummy-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 ----------- -- 2.7.4