Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1499928

[PATCH] perf: dynamically change verbosity level in perf top

From Alexis Berlemont <alexis.berlemont@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] perf: dynamically change verbosity level in perf top
Date 2016-10-13 00:10 +0200
Message-ID <srzSN-29w-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

Here is a small patch which tries to fulfill a point in the perf todo
list:

* Make pressing 'V' multiple times to go on cycling thru various
  verbosity levels in 'perf top', so that info that is present in
  'perf top -v' can be obtained without having to restart the tool
  (acme).

After a small grep in the code, the max verbosity level seems 3; so,
we cycle at 4; I did not dare define a MAX_VERBOSE_LEVEL constant.

Alexis.

Alexis Berlemont (1):
  perf: dynamically change verbosity level in perf top

 tools/perf/ui/browsers/hists.c |  5 ++++-
 tools/perf/util/map.c          | 17 ++++++++++++-----
 2 files changed, 16 insertions(+), 6 deletions(-)

-- 
2.10.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] perf: dynamically change verbosity level in perf top Alexis Berlemont <alexis.berlemont@gmail.com> - 2016-10-13 00:10 +0200
  [PATCH] perf: dynamically change verbosity level in perf top Alexis Berlemont <alexis.berlemont@gmail.com> - 2016-10-13 01:10 +0200
    [tip:perf/core] perf hists browser: Dynamically change verbosity  level tip-bot for Alexis Berlemont <tipbot@zytor.com> - 2016-10-24 21:10 +0200
  Re: [PATCH] perf: dynamically change verbosity level in perf top Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-10-14 18:00 +0200

csiph-web