kernel_optimize_test/tools/perf/ui/browsers
Namhyung Kim 268397cb2a 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 <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1398327843-31845-11-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
2014-04-24 16:34:09 +02:00
..
annotate.c perf annotate: Another fix for annotate_browser__callq() 2013-10-14 12:21:18 -03:00
header.c perf ui/tui: Implement header window 2013-12-26 11:22:02 -03:00
hists.c perf top/tui: Update nr_entries properly after a filter is applied 2014-04-24 16:34:09 +02:00
map.c perf tools: Finish the removal of 'self' arguments 2013-11-05 15:32:36 -03:00
map.h perf tools: Finish the removal of 'self' arguments 2013-11-05 15:32:36 -03:00
scripts.c perf tools: No need to test against NULL before calling free() 2013-12-26 15:58:52 -03:00