diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2012-10-04 12:49:42 (GMT) |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-10-04 16:35:14 (GMT) |
commit | c4b35351ef3145c9abad64999d1de0de1b8361ab (patch) | |
tree | 2510b23e0f49450baa654a1eb49317a22af7c428 /tools/perf/builtin-annotate.c | |
parent | b24c28f794e1821c1bba3ef7e9e948ab77ee00ac (diff) | |
download | linux-fsl-qoriq-c4b35351ef3145c9abad64999d1de0de1b8361ab.tar.xz |
perf hists: Move he->stat.nr_events initialization to a template
Since it is set to 1 for a new hist entry, no need to set to separately.
Move it to a template entry.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Arun Sharma <asharma@fb.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1349354994-17853-9-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions