diff options
author | Namhyung Kim <namhyung@kernel.org> | 2014-04-22 09:47:25 +0900 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-04-24 16:29:20 +0200 |
commit | 58c311da9cec97d7a665156a726bd1653384c65c (patch) | |
tree | a5ec87aa5cfb21347e6e8f1379cca9cdf284319a /fs/nilfs2/inode.c | |
parent | a81fef347b32dea2b31275826afe1c93fa0d2d54 (diff) | |
download | talos-op-linux-58c311da9cec97d7a665156a726bd1653384c65c.tar.gz talos-op-linux-58c311da9cec97d7a665156a726bd1653384c65c.zip |
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 <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1398327843-31845-2-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'fs/nilfs2/inode.c')
0 files changed, 0 insertions, 0 deletions