summaryrefslogtreecommitdiff
path: root/Documentation/leds
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-04-22 00:47:25 (GMT)
committerJiri Olsa <jolsa@kernel.org>2014-04-24 14:29:20 (GMT)
commit58c311da9cec97d7a665156a726bd1653384c65c (patch)
treea5ec87aa5cfb21347e6e8f1379cca9cdf284319a /Documentation/leds
parenta81fef347b32dea2b31275826afe1c93fa0d2d54 (diff)
downloadlinux-58c311da9cec97d7a665156a726bd1653384c65c.tar.xz
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 'Documentation/leds')
0 files changed, 0 insertions, 0 deletions