From: Namhyung Kim Date: Tue, 22 Apr 2014 00:47:25 +0000 (+0900) Subject: perf report: Count number of entries separately X-Git-Tag: omap-for-v3.16/fixes-against-rc1~34^2~33^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58c311da9cec97d7a665156a726bd1653384c65c;p=pandora-kernel.git perf report: Count number of entries separately The hists->nr_entries is counted in multiple places so that they can confuse readers of the code. This is a preparation of later change and do not intend any functional difference. Note that report__collapse_hists() now changed to return nothing since its return value (nr_samples) is only for checking if there's any data in the input file and this can be acheived by checking ->nr_entries. Signed-off-by: Namhyung Kim Link: http://lkml.kernel.org/r/1398327843-31845-2-git-send-email-namhyung@kernel.org Signed-off-by: Jiri Olsa --- Reading git-diff-tree failed