aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2014-04-22 00:47:25 +0000
committerJiri Olsa <[email protected]>2014-04-24 14:29:20 +0000
commit58c311da9cec97d7a665156a726bd1653384c65c (patch)
treea5ec87aa5cfb21347e6e8f1379cca9cdf284319a /tools/perf/builtin-annotate.c
parentMerge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadkernel-58c311da9cec97d7a665156a726bd1653384c65c.tar.gz
kernel-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 <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jiri Olsa <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions