summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/inode.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-04-22 09:47:25 +0900
committerJiri Olsa <jolsa@kernel.org>2014-04-24 16:29:20 +0200
commit58c311da9cec97d7a665156a726bd1653384c65c (patch)
treea5ec87aa5cfb21347e6e8f1379cca9cdf284319a /fs/nilfs2/inode.c
parenta81fef347b32dea2b31275826afe1c93fa0d2d54 (diff)
downloadtalos-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
OpenPOWER on IntegriCloud