diff options
author | Jiri Olsa <jolsa@redhat.com> | 2013-02-03 14:08:34 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-07-12 12:54:07 -0400 |
commit | 345dc0b45ecc37a239723f2b6392cab04d8b0eff (patch) | |
tree | 064682f63687367eff7dcce1e0f66012d9614cec /tools/perf/util/hist.h | |
parent | 1d81c7fc25c0f0559e3306fc73ecfe78b740c9e8 (diff) |
perf diff: Move diff related columns into diff command
Moving diff related columns into diff command, because they are not used
by any other command.
Also moving the column entry functions under generic one with baseline
as an exception.
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-v58qfl75xkqojz54h1v5fy6p@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/hist.h')
-rw-r--r-- | tools/perf/util/hist.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h index 0c62116d4d3a..79681f62ef2b 100644 --- a/tools/perf/util/hist.h +++ b/tools/perf/util/hist.h | |||
@@ -159,7 +159,7 @@ extern struct list_head perf_hpp__list; | |||
159 | extern struct perf_hpp_fmt perf_hpp__format[]; | 159 | extern struct perf_hpp_fmt perf_hpp__format[]; |
160 | 160 | ||
161 | enum { | 161 | enum { |
162 | PERF_HPP__BASELINE, | 162 | /* Matches perf_hpp__format array. */ |
163 | PERF_HPP__OVERHEAD, | 163 | PERF_HPP__OVERHEAD, |
164 | PERF_HPP__OVERHEAD_SYS, | 164 | PERF_HPP__OVERHEAD_SYS, |
165 | PERF_HPP__OVERHEAD_US, | 165 | PERF_HPP__OVERHEAD_US, |
@@ -167,11 +167,6 @@ enum { | |||
167 | PERF_HPP__OVERHEAD_GUEST_US, | 167 | PERF_HPP__OVERHEAD_GUEST_US, |
168 | PERF_HPP__SAMPLES, | 168 | PERF_HPP__SAMPLES, |
169 | PERF_HPP__PERIOD, | 169 | PERF_HPP__PERIOD, |
170 | PERF_HPP__PERIOD_BASELINE, | ||
171 | PERF_HPP__DELTA, | ||
172 | PERF_HPP__RATIO, | ||
173 | PERF_HPP__WEIGHTED_DIFF, | ||
174 | PERF_HPP__FORMULA, | ||
175 | 170 | ||
176 | PERF_HPP__MAX_INDEX | 171 | PERF_HPP__MAX_INDEX |
177 | }; | 172 | }; |