diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2012-10-04 08:49:41 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-10-04 12:34:22 -0400 |
commit | b24c28f794e1821c1bba3ef7e9e948ab77ee00ac (patch) | |
tree | adeffc7cf0b7254f68e6a64640bf06cc677bcd4e /tools/perf/ui/gtk/browser.c | |
parent | b5ff71c3bab10a7a4b321b5de072ac5bd73ef9a4 (diff) |
perf hists: Introduce struct he_stat
The struct he_stat is for separating out statistics data of a hist
entry. It is required for later changes.
It's just a mechanical change and should have no functional differences.
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-8-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/gtk/browser.c')
-rw-r--r-- | tools/perf/ui/gtk/browser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/ui/gtk/browser.c b/tools/perf/ui/gtk/browser.c index 3cbb1d622ed2..4125c6284114 100644 --- a/tools/perf/ui/gtk/browser.c +++ b/tools/perf/ui/gtk/browser.c | |||
@@ -50,7 +50,7 @@ static int perf_gtk__hpp_color_ ## _name(struct perf_hpp *hpp, \ | |||
50 | struct hist_entry *he) \ | 50 | struct hist_entry *he) \ |
51 | { \ | 51 | { \ |
52 | struct hists *hists = he->hists; \ | 52 | struct hists *hists = he->hists; \ |
53 | double percent = 100.0 * he->_field / hists->stats.total_period; \ | 53 | double percent = 100.0 * he->stat._field / hists->stats.total_period; \ |
54 | const char *markup; \ | 54 | const char *markup; \ |
55 | int ret = 0; \ | 55 | int ret = 0; \ |
56 | \ | 56 | \ |