[PATCH v1 1/2] perf config: Fix annotate.hide_src_code documentation
Kohei Enju <[email protected]>
| Newsgroups | org.kernel.vger.linux-perf-users |
|---|---|
| Message-ID | <[email protected]> |
annotate.hide_src_code defaults to true since commit e201757f7a0a ("perf
annotate: Fix source code annotate with objdump"), but the perf config
documentation still describes the default as false in a few places.
Update the documented default and the example.
Signed-off-by: Kohei Enju <[email protected]>
---
tools/perf/Documentation/perf-config.txt | 6 +++---
tools/perf/Documentation/perfconfig.example | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/perf/Documentation/perf-config.txt b/tools/perf/Documentation/perf-config.txt
index 9b223f892829..589bc7f36012 100644
--- a/tools/perf/Documentation/perf-config.txt
+++ b/tools/perf/Documentation/perf-config.txt
@@ -96,7 +96,7 @@ Given a $HOME/.perfconfig like this:
[annotate]
# Defaults
- hide_src_code = false
+ hide_src_code = true
use_offset = true
jump_arrows = true
show_nr_jumps = false
@@ -126,7 +126,7 @@ Given a $HOME/.perfconfig like this:
skip-empty = true
-You can hide source code of annotate feature setting the config to false with
+You can hide source code of annotate feature setting the config to true with
% perf config annotate.hide_src_code=true
@@ -291,7 +291,7 @@ annotate.*::
│ mov (%rdi),%rdx
But if this option is 'false', source code of the part
- can be also printed as below. Default is 'false'.
+ can be also printed as below. Default is 'true'.
│ struct rb_node *rb_next(const struct rb_node *node)
│ {
diff --git a/tools/perf/Documentation/perfconfig.example b/tools/perf/Documentation/perfconfig.example
index 2b477c1d1efe..f9c202a25fa0 100644
--- a/tools/perf/Documentation/perfconfig.example
+++ b/tools/perf/Documentation/perfconfig.example
@@ -23,7 +23,7 @@
[annotate]
# Defaults
- hide_src_code = false
+ hide_src_code = true
use_offset = true
jump_arrows = true
show_nr_jumps = false
--
2.53.0