summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/hist.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2012-11-08 17:54:33 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-11-08 17:57:37 -0300
commit95529be47855be6350dfd0b9cd09ea863ca7421f (patch)
treeb68e3cdd61af81390a92523efc53967c4a7a4df8 /tools/perf/util/hist.h
parentb821c7325354c589ccc9611cf9e6b0d7490ed6a6 (diff)
downloadblackbird-op-linux-95529be47855be6350dfd0b9cd09ea863ca7421f.tar.gz
blackbird-op-linux-95529be47855be6350dfd0b9cd09ea863ca7421f.zip
perf diff: Move hists__match to the hists lib
Its not 'diff' specific and will be useful for other use cases, like bucketizing multiple events in a single session. Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-o35urjgxfxxm70aw1wa81s4w@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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h
index a4f45dd04697..ff1c3963e04f 100644
--- a/tools/perf/util/hist.h
+++ b/tools/perf/util/hist.h
@@ -115,6 +115,8 @@ bool hists__new_col_len(struct hists *self, enum hist_column col, u16 len);
void hists__reset_col_len(struct hists *hists);
void hists__calc_col_len(struct hists *hists, struct hist_entry *he);
+void hists__match(struct hists *leader, struct hists *other);
+
struct perf_hpp {
char *buf;
size_t size;
OpenPOWER on IntegriCloud