From: Namhyung Kim Date: Tue, 22 Apr 2014 05:49:31 +0000 (+0900) Subject: perf top/tui: Update nr_entries properly after a filter is applied X-Git-Tag: omap-for-v3.16/fixes-against-rc1~34^2~33^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=268397cb2a47ce6e1c0298d9de1762143867f9d3;p=pandora-kernel.git perf top/tui: Update nr_entries properly after a filter is applied The hist_browser__reset() is only called right after a filter is applied so it needs to udpate browser->nr_entries properly. We cannot use hists->nr_non_filtered_entreis directly since it's possible that such entries are also filtered out by minimum percentage limit. In addition when a filter is used for perf top, hist browser's nr_entries field was not updated after applying the filter. But it needs to be updated as new samples are coming. Signed-off-by: Namhyung Kim Link: http://lkml.kernel.org/r/1398327843-31845-11-git-send-email-namhyung@kernel.org Signed-off-by: Jiri Olsa --- Reading git-diff-tree failed