diff options
author | Jiri Olsa <jolsa@kernel.org> | 2016-08-07 11:28:27 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-08-23 14:37:33 -0400 |
commit | 74bb43f29ec80bc998804fa7399930d86c4bae67 (patch) | |
tree | 9b39e66f54add5532129cdb1c1b73380219ae221 /tools/perf/util/hist.h | |
parent | f8e6710de859e1ac3a5df294bddeca19f60cec9a (diff) |
perf hists: Add line argument into perf_hpp_fmt's header callback
Adding line argument into perf_hpp_fmt's header callback to be able to
request specific header line.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1470583710-1649-3-git-send-email-jolsa@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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h index 8cc5d33d2405..71a44c1c44de 100644 --- a/tools/perf/util/hist.h +++ b/tools/perf/util/hist.h | |||
@@ -230,7 +230,7 @@ struct perf_hpp { | |||
230 | struct perf_hpp_fmt { | 230 | struct perf_hpp_fmt { |
231 | const char *name; | 231 | const char *name; |
232 | int (*header)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, | 232 | int (*header)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, |
233 | struct hists *hists); | 233 | struct hists *hists, int line); |
234 | int (*width)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, | 234 | int (*width)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, |
235 | struct hists *hists); | 235 | struct hists *hists); |
236 | int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, | 236 | int (*color)(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, |