commit | 1844dbcbe78503e0f4a8996d69da725d5e7a5177 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@kernel.org> | Wed May 28 14:12:18 2014 +0900 |
committer | Jiri Olsa <jolsa@kernel.org> | Sun Jun 01 14:34:55 2014 +0200 |
tree | e1858b5bd3c1fb9a2638d366a9e1c790e5e654b6 | |
parent | e450f90e8c7d0bf70519223c1b848446ae63f313 [diff] |
perf tools: Introduce hists__inc_nr_samples() There're some duplicate code for counting number of samples. Add hists__inc_nr_samples() and reuse it. Suggested-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/1401335910-16832-2-git-send-email-namhyung@kernel.org Signed-off-by: Jiri Olsa <jolsa@kernel.org>