perf hists: Move he->stat.nr_events initialization to a template
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 4 Oct 2012 12:49:42 +0000 (21:49 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 4 Oct 2012 16:35:14 +0000 (13:35 -0300)
commitc4b35351ef3145c9abad64999d1de0de1b8361ab
tree2510b23e0f49450baa654a1eb49317a22af7c428
parentb24c28f794e1821c1bba3ef7e9e948ab77ee00ac
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>
tools/perf/util/hist.c
This page took 0.024357 seconds and 5 git commands to generate.