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


Groups > linux.kernel > #1279050

Re: [PATCH 3/3] perf hists browser: Update nr entries regardless of min percent

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] perf hists browser: Update nr entries regardless of min percent
Date 2015-11-28 02:00 +0100
Message-ID <qzC1Q-1Bx-11@gated-at.bofh.it> (permalink)
References <qzva1-5TV-11@gated-at.bofh.it> <qzva1-5TV-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Em Sat, Nov 28, 2015 at 02:32:39AM +0900, Namhyung Kim escreveu:
> When perf report on TUI was called with -S symbol filter, it should
> update nr entries even if min_pcnt is 0.  IIRC the reason was to update
> nr entries after applying minimum percent threshold.  But if symbol
> filter was given on command line (with -S option), it should use
> hists->nr_non_filtered_entries instead of hists->nr_entries.
> 
> So this patch fixes a bug of navigating hists browser that the cursor
> goes beyond the number of entries when -S (or similar) option is used.

Thanks, tested and applied.

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH 3/3] perf hists browser: Update nr entries regardless of min percent Namhyung Kim <namhyung@kernel.org> - 2015-11-27 18:40 +0100
  Re: [PATCH 3/3] perf hists browser: Update nr entries regardless of  min percent Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-11-28 02:00 +0100
  [tip:perf/core] perf hists browser:   Update nr entries regardless of min percent tip-bot for Namhyung Kim <tipbot@zytor.com> - 2015-11-29 09:00 +0100

csiph-web