[PATCH v1 0/2] perf annotate: Fix source option behavior and

Kohei Enju <[email protected]>
Newsgroups org.kernel.vger.linux-perf-users
Message-ID <[email protected]>
Source annotation has been disabled by default since e201757f7a0a ("perf
annotate: Fix source code annotate with objdump"), but the documentation
still describes the old default. Also, an explicit --source does not
currently override annotate.hide_src_code.

Update the documentation and make explicit --source/--no-source take
precedence over the configuration.

Kohei Enju (2):
  perf config: Fix annotate.hide_src_code documentation
  perf annotate: Honor explicit --source option

 tools/perf/Documentation/perf-annotate.txt  | 4 ++--
 tools/perf/Documentation/perf-config.txt    | 6 +++---
 tools/perf/Documentation/perf-report.txt    | 4 ++--
 tools/perf/Documentation/perf-top.txt       | 4 ++--
 tools/perf/Documentation/perfconfig.example | 2 +-
 tools/perf/builtin-annotate.c               | 7 +++++--
 tools/perf/builtin-report.c                 | 7 +++++--
 tools/perf/builtin-top.c                    | 7 +++++--
 8 files changed, 25 insertions(+), 16 deletions(-)

-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.